aboutsummaryrefslogtreecommitdiffstats
path: root/compat/tms470/math.h
blob: 1104d744e74c2d66bc0700e825540920d536e2e1 (plain) (blame)
1
2
3
4
5
6
7
#include_next <math.h>

#undef INFINITY
#undef NAN

#define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 }))
#define NAN      (*(const float*)((const unsigned []){ 0x7fc00000 }))