summaryrefslogtreecommitdiff
path: root/compat/tms470/math.h
blob: ad531297a1dd38e5a5b34942bd16cfd9514c7d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef FFMPEG_COMPAT_TMS470_MATH_H
#define FFMPEG_COMPAT_TMS470_MATH_H

#include_next <math.h>

#undef INFINITY
#undef NAN

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

#endif /* FFMPEG_COMPAT_TMS470_MATH_H */