Commit | Line | Data |
---|---|---|
439902e0 DB |
1 | #ifndef LIBAV_COMPAT_TMS470_MATH_H |
2 | #define LIBAV_COMPAT_TMS470_MATH_H | |
3 | ||
b6f8d635 MR |
4 | #include_next <math.h> |
5 | ||
6 | #undef INFINITY | |
7 | #undef NAN | |
8 | ||
9 | #define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 })) | |
10 | #define NAN (*(const float*)((const unsigned []){ 0x7fc00000 })) | |
439902e0 DB |
11 | |
12 | #endif /* LIBAV_COMPAT_TMS470_MATH_H */ |