Index: src/mips64/simulator-mips64.cc |
diff --git a/src/mips64/simulator-mips64.cc b/src/mips64/simulator-mips64.cc |
index 86b1d8ef3ab5b3ede644ba9c601f88a9b9c04c00..9899d47a0e5ec940d99bf1514827f6f57f2187f9 100644 |
--- a/src/mips64/simulator-mips64.cc |
+++ b/src/mips64/simulator-mips64.cc |
@@ -1204,8 +1204,7 @@ |
set_fcsr_bit(kFCSRInexactFlagBit, true); |
} |
- if (rounded < std::numeric_limits<double>::min() && |
- rounded > -std::numeric_limits<double>::min() && rounded != 0) { |
+ if (rounded < DBL_MIN && rounded > -DBL_MIN && rounded != 0) { |
set_fcsr_bit(kFCSRUnderflowFlagBit, true); |
ret = true; |
} |
@@ -1237,8 +1236,7 @@ |
set_fcsr_bit(kFCSRInexactFlagBit, true); |
} |
- if (rounded < std::numeric_limits<double>::min() && |
- rounded > -std::numeric_limits<double>::min() && rounded != 0) { |
+ if (rounded < DBL_MIN && rounded > -DBL_MIN && rounded != 0) { |
set_fcsr_bit(kFCSRUnderflowFlagBit, true); |
ret = true; |
} |