Mercurial > sdl-ios-xcode
comparison src/libm/math.h @ 4870:d275c95ddc05
Added atan2 implementation from uClibc
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 29 Aug 2010 16:05:34 -0700 |
parents | f7b03b6838cb |
children | 67ad1c88dda0 |
comparison
equal
deleted
inserted
replaced
4869:2b1bcf74e4c4 | 4870:d275c95ddc05 |
---|---|
21 */ | 21 */ |
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 #include "SDL_stdinc.h" | 23 #include "SDL_stdinc.h" |
24 | 24 |
25 /* Math routines from uClibc: http://www.uclibc.org */ | 25 /* Math routines from uClibc: http://www.uclibc.org */ |
26 | |
27 #ifndef HAVE_ATAN2 | |
28 #define __ieee754_atan2 SDL_atan2 | |
29 #endif | |
26 | 30 |
27 #ifdef HAVE_COPYSIGN | 31 #ifdef HAVE_COPYSIGN |
28 #define copysign SDL_uclibc_copysign | 32 #define copysign SDL_uclibc_copysign |
29 #else | 33 #else |
30 #define copysign SDL_copysign | 34 #define copysign SDL_copysign |