1
0
Fork 0
forked from len0rd/rockbox

Make fixepoint.c as a shared library (libfixedpoint.a).

Change-Id: Icc10d6e85f890c432f191233a4d64e09f00be43d
Reviewed-on: http://gerrit.rockbox.org/456
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested-by: Michael Sevakis <jethead71@rockbox.org>
This commit is contained in:
Michael Sevakis 2013-04-16 17:47:58 -04:00
parent 8829e909b4
commit 95e23defb0
28 changed files with 91 additions and 101 deletions

View file

@ -3,7 +3,7 @@
#include <inttypes.h>
#include <math.h>
#include "lib/fixedpoint.h"
#include "fixedpoint.h"
#define Q_MUL(a, b, bits) (( (int64_t) (a) * (int64_t) (b) ) >> (bits))
#define Q15_MUL(a, b) Q_MUL(a,b,15)