Index: src/arm64/simulator-arm64.cc |
diff --git a/src/arm64/simulator-arm64.cc b/src/arm64/simulator-arm64.cc |
index c4d444fe2307225662e302c34172203d6d105b09..8f72669f499abad6a44177a9c408c22d99c78f56 100644 |
--- a/src/arm64/simulator-arm64.cc |
+++ b/src/arm64/simulator-arm64.cc |
@@ -2759,7 +2759,7 @@ double Simulator::FPRoundInt(double value, FPRounding round_mode) { |
// If the error is greater than 0.5, or is equal to 0.5 and the integer |
// result is odd, round up. |
} else if ((error > 0.5) || |
- ((error == 0.5) && (fmod(int_result, 2) != 0))) { |
+ ((error == 0.5) && (modulo(int_result, 2) != 0))) { |
int_result++; |
} |
break; |