Index: test/cctest/test-utils-a64.cc |
diff --git a/test/cctest/test-utils-a64.cc b/test/cctest/test-utils-a64.cc |
index 5e5a2e1e4b79a07ec90a2415198a3e2b781047d1..e637a6e52b7d1138b300ab3b890c7b04cb126df1 100644 |
--- a/test/cctest/test-utils-a64.cc |
+++ b/test/cctest/test-utils-a64.cc |
@@ -62,7 +62,7 @@ bool EqualFP32(float expected, const RegisterDump*, float result) { |
if (float_to_rawbits(expected) == float_to_rawbits(result)) { |
return true; |
} else { |
- if (isnan(expected) || (expected == 0.0)) { |
+ if (std::isnan(expected) || (expected == 0.0)) { |
printf("Expected 0x%08" PRIx32 "\t Found 0x%08" PRIx32 "\n", |
float_to_rawbits(expected), float_to_rawbits(result)); |
} else { |
@@ -81,7 +81,7 @@ bool EqualFP64(double expected, const RegisterDump*, double result) { |
return true; |
} |
- if (isnan(expected) || (expected == 0.0)) { |
+ if (std::isnan(expected) || (expected == 0.0)) { |
printf("Expected 0x%016" PRIx64 "\t Found 0x%016" PRIx64 "\n", |
double_to_rawbits(expected), double_to_rawbits(result)); |
} else { |