On 06/03/14 09:24, Anton Khirnov wrote:
> 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
> [....]
> }
> ---
> Martynas is not replying to pings (and we'd have to support current broken
> systems anyway), so resending this. I've discovered the same problem in musl
> (where it's already fixed), so amended the description to not be bsd-specific.
> ---
Fine for me.
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel