diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-05-14 12:43:45 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-14 12:43:45 +0000 |
commit | 68947473e11ec9ac97f00fa5c70cee820753be90 (patch) | |
tree | efe51f0174cc2f9b2e7aa8d309ae3ad0f076877c /firmware | |
parent | 3cca7e865082c8144a47687e3a2455fba5a927d5 (diff) | |
download | rockbox-68947473e11ec9ac97f00fa5c70cee820753be90.tar.gz rockbox-68947473e11ec9ac97f00fa5c70cee820753be90.zip |
Move math.h to firmware/libc/include/ and fix slight incompatibilities between our and the host's math.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26020 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/libc/include/math.h (renamed from firmware/include/math.h) | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/include/math.h b/firmware/libc/include/math.h index 5415e43f86..07f1f2d686 100644 --- a/firmware/include/math.h +++ b/firmware/libc/include/math.h | |||
@@ -29,7 +29,6 @@ extern "C" { | |||
29 | #define M_LN2 0.69314718055994530942 | 29 | #define M_LN2 0.69314718055994530942 |
30 | #define M_LN10 2.30258509299404568402 | 30 | #define M_LN10 2.30258509299404568402 |
31 | #define M_PI 3.14159265358979323846 | 31 | #define M_PI 3.14159265358979323846 |
32 | #define M_TWOPI (M_PI * 2.0) | ||
33 | #define M_PI_2 1.57079632679489661923 | 32 | #define M_PI_2 1.57079632679489661923 |
34 | #define M_PI_4 0.78539816339744830962 | 33 | #define M_PI_4 0.78539816339744830962 |
35 | #define M_3PI_4 2.3561944901923448370E0 | 34 | #define M_3PI_4 2.3561944901923448370E0 |