some comments and attribution

This commit is contained in:
Alessandro Mauri 2026-05-16 17:30:18 +02:00
parent 5688dfb8c5
commit a7d3ceaffe
4 changed files with 20 additions and 7 deletions

View file

@ -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");