Mercurial > sdl-ios-xcode
comparison src/libm/math.h @ 2760:02aa80d7905f
Updated Visual C++ build
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 15 Sep 2008 07:34:36 +0000 |
parents | 95fccd9bf262 |
children | 26861c61142a |
comparison
equal
deleted
inserted
replaced
2759:95fccd9bf262 | 2760:02aa80d7905f |
---|---|
23 | 23 |
24 #ifdef HAVE_MATH_H | 24 #ifdef HAVE_MATH_H |
25 #include <math.h> | 25 #include <math.h> |
26 #else | 26 #else |
27 | 27 |
28 /* Math routines from uClibc: http://www.uclibc.org */ | |
29 | |
28 extern double __ieee754_log(double x); | 30 extern double __ieee754_log(double x); |
29 extern double __ieee754_pow(double x, double y); | 31 extern double __ieee754_pow(double x, double y); |
30 extern double __ieee754_sqrt(double x); | 32 extern double __ieee754_sqrt(double x); |
31 | 33 |
32 #define log(x) __ieee754_log(x) | 34 #define log(x) __ieee754_log(x) |