comparison src/libm/math.h @ 4873:67ad1c88dda0

Added atan implementation from uClibc
author Sam Lantinga <slouken@libsdl.org>
date Sun, 29 Aug 2010 16:51:48 -0700
parents d275c95ddc05
children b530ef003506
comparison
equal deleted inserted replaced
4872:231f8a1c5edd 4873:67ad1c88dda0
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 #ifdef HAVE_ATAN
28 #define atan SDL_uclibc_atan
29 #else
30 #define atan SDL_atan
31 #endif
26 32
27 #ifndef HAVE_ATAN2 33 #ifndef HAVE_ATAN2
28 #define __ieee754_atan2 SDL_atan2 34 #define __ieee754_atan2 SDL_atan2
29 #endif 35 #endif
30 36