Skip to content

[v8.x] node_crypto: Use <cmath> definitions of isnan and isinf

Rodrigo Muino Tomonari requested to merge github/fork/jer-gentoo/patch-1 into v8.x

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), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading