| Index: runtime/platform/floating_point_win.cc
|
| ===================================================================
|
| --- runtime/platform/floating_point_win.cc (revision 37827)
|
| +++ runtime/platform/floating_point_win.cc (working copy)
|
| @@ -5,7 +5,6 @@
|
| #include "platform/globals.h"
|
| #if defined(TARGET_OS_WINDOWS)
|
|
|
| -#include <math.h> // NOLINT
|
| #include <limits> // NOLINT
|
|
|
| // Taken from third_party/v8/src/platform-win32.cc
|
| @@ -15,7 +14,7 @@
|
| // If dividend is finite and divisor is an infinity or
|
| // dividend is a zero and divisor is nonzero finite,
|
| // then dividend is returned.
|
| - if (!(_finite(x) && (!_finite(y) && !isnan(y))) &&
|
| + if (!(_finite(x) && (!_finite(y) && !std::isnan(y))) &&
|
| !(x == 0 && (y != 0 && _finite(y)))) {
|
| x = fmod(x, y);
|
| }
|
|
|