[v8.x] node_crypto: Use <cmath> definitions of isnan and isinf
Unless you specify C++11, std::isnan
and std::isinf
are not guaranteed to be available. Instead, explicitly use the cmath
functions.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines