1
0
Fork 0
forked from len0rd/rockbox

pdbox: Always use fixedpoint version of math functions

Change-Id: Ie5671d8f425804c9cf3265bad86eadadaf73ea1c
This commit is contained in:
Marcin Bukat 2012-10-07 15:04:24 +02:00
parent ef4bf8a9f0
commit 71778bd21e
12 changed files with 14 additions and 12 deletions

View file

@ -170,7 +170,7 @@ void pd_init(void);
//#ifndef SIMULATOR
/*FIXME: is it a correct replacement??? */
#if !(CONFIG_PLATFORM & PLATFORM_HOSTED)
/* #if !(CONFIG_PLATFORM & PLATFORM_HOSTED) */
#define floor rb_floor
#define atof rb_atof
#define atol rb_atol
@ -186,9 +186,11 @@ void pd_init(void);
#define atan2 rb_atan2
#define sinh rb_sinh
#define tan rb_tan
/*
#else
#include <math.h>
#endif
*/
#define ftoan rb_ftoan
#undef strtok_r