Index: src/third_party/fdlibm/fdlibm.cc |
diff --git a/src/third_party/fdlibm/fdlibm.cc b/src/third_party/fdlibm/fdlibm.cc |
index cc5dbc2f9793255229003e44911859ae876ae131..90099f141b46ef1de4da7c4df4c9b87deb4da781 100644 |
--- a/src/third_party/fdlibm/fdlibm.cc |
+++ b/src/third_party/fdlibm/fdlibm.cc |
@@ -264,7 +264,7 @@ int rempio2(double x, double* y) { |
int32_t ix = hx & 0x7fffffff; |
if (ix >= 0x7ff00000) { |
- *y = base::OS::nan_value(); |
+ *y = std::numeric_limits<double>::quiet_NaN(); |
return 0; |
} |