mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
The values of {FLT,DBL}_{MAX,MIN} macros on some systems (older musl
libc, some BSD flavours) are not exactly representable, i.e.
(double)DBL_MAX == DBL_MAX is false
This violates (at least some interpretations of) the C99 standard and
breaks code (e.g. in vf_fps) like
double f = DBL_MAX;
[...]
if (f == DBL_MAX) { // f has not been changed yet
[....]
}
|
||
|---|---|---|
| .. | ||
| aix | ||
| float | ||
| msvcrt | ||
| plan9 | ||
| tms470 | ||
| windows | ||
| getopt.c | ||
| strtod.c | ||
| w32pthreads.h | ||