src/libm/math_private.h
changeset 7351 668a3dc28361
parent 5086 c2539ff054c8
child 7404 dfbe1bfff593
equal deleted inserted replaced
7350:302af2a46a66 7351:668a3dc28361
    24 #define attribute_hidden
    24 #define attribute_hidden
    25 #define libm_hidden_proto(x)
    25 #define libm_hidden_proto(x)
    26 #define libm_hidden_def(x)
    26 #define libm_hidden_def(x)
    27 
    27 
    28 typedef unsigned int u_int32_t;
    28 typedef unsigned int u_int32_t;
       
    29 
       
    30 #define atan            SDL_uclibc_atan
       
    31 #define __ieee754_atan2 SDL_uclibc_atan2
       
    32 #define copysign        SDL_uclibc_copysign
       
    33 #define cos             SDL_uclibc_cos
       
    34 #define fabs            SDL_uclibc_fabs
       
    35 #define floor           SDL_uclibc_floor
       
    36 #define __ieee754_log   SDL_uclibc_log
       
    37 #define __ieee754_pow   SDL_uclibc_pow
       
    38 #define scalbn          SDL_uclibc_scalbn
       
    39 #define sin             SDL_uclibc_sin
       
    40 #define __ieee754_sqrt  SDL_uclibc_sqrt
    29 
    41 
    30 /* The original fdlibm code used statements like:
    42 /* The original fdlibm code used statements like:
    31 	n0 = ((*(int*)&one)>>29)^1;		* index of high word *
    43 	n0 = ((*(int*)&one)>>29)^1;		* index of high word *
    32 	ix0 = *(n0+(int*)&x);			* high word of x *
    44 	ix0 = *(n0+(int*)&x);			* high word of x *
    33 	ix1 = *((1-n0)+(int*)&x);		* low word of x *
    45 	ix1 = *((1-n0)+(int*)&x);		* low word of x *