Index: runtime/lib/math.cc |
diff --git a/runtime/lib/math.cc b/runtime/lib/math.cc |
index ff4e6af1575d6b262ba30361ed75306b3ac007e4..5a434c4ec04bb4d3f65889b5c473a61792a6bf1f 100644 |
--- a/runtime/lib/math.cc |
+++ b/runtime/lib/math.cc |
@@ -53,7 +53,7 @@ DEFINE_NATIVE_ENTRY(Math_atan, 1) { |
DEFINE_NATIVE_ENTRY(Math_atan2, 2) { |
GET_NATIVE_ARGUMENT(Double, operand1, arguments->NativeArgAt(0)); |
GET_NATIVE_ARGUMENT(Double, operand2, arguments->NativeArgAt(1)); |
- return Double::New(atan2(operand1.value(), operand2.value())); |
+ return Double::New(atan2_ieee(operand1.value(), operand2.value())); |
} |
DEFINE_NATIVE_ENTRY(Math_exp, 1) { |