some comments and attribution
This commit is contained in:
parent
5688dfb8c5
commit
a7d3ceaffe
4 changed files with 20 additions and 7 deletions
|
|
@ -4,6 +4,10 @@
|
|||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
|
||||
/*
|
||||
* Minimal Fixed-Point math library implementation
|
||||
*/
|
||||
|
||||
// This library depends on sign extension
|
||||
static_assert(-4 >> 1 == -2, ">> doesn't do sign extension");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue