We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d94033 commit 7735ad3Copy full SHA for 7735ad3
1 file changed
libpdffit2/StringUtils.cc
@@ -41,7 +41,7 @@ string FormatValueWithStd::operator() (double x, double dx)
41
out << x << setprecision(f_std_precision);
42
// do not write dx when it is too small
43
if (dx > fabs(x)*1e-8) out << " (" << dx << ')';
44
- else if (isnan(dx)) out << " (NaN)";
+ else if (std::isnan(dx)) out << " (NaN)";
45
// left-pad string to the width
46
string rv = out.str();
47
int rvlen = rv.size();
0 commit comments