summaryrefslogtreecommitdiff
path: root/compat/tms470/math.h
blob: ac8d3cdf5426820bcdd17a45378108d0a0d703bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef LIBAV_COMPAT_TMS470_MATH_H
#define LIBAV_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 /* LIBAV_COMPAT_TMS470_MATH_H */