mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-14 11:14:44 +00:00
b6f8d635f2
The glibc definitions of INFINITY and NAN do not work with the tms470 compiler, nor do our usual fallbacks. Signed-off-by: Mans Rullgard <mans@mansr.com>
8 lines
192 B
C
8 lines
192 B
C
#include_next <math.h>
|
|
|
|
#undef INFINITY
|
|
#undef NAN
|
|
|
|
#define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 }))
|
|
#define NAN (*(const float*)((const unsigned []){ 0x7fc00000 }))
|