Commit 7abec671473b837f99181442d59edd0cc2ee01d1

Nick Wellnhofer 2018-03-15T19:33:52

NaN and Inf fixes for pre-C99 compilers On some pre-C99 compilers, the NAN and INFINITY macros don't expand to constant expressions. Some MSVC versions complain about floating point division by zero in constants. Thanks to Fabrice Manfroi for the report.