Chromium Code Reviews| Index: tests/language/math_vm_test.dart |
| diff --git a/tests/language/math_vm_test.dart b/tests/language/math_vm_test.dart |
| index cde27ef770c60e96650dcb6caadf747a8d81e26e..96e88bc237dcc78f845cb759a609798fe5b44abb 100644 |
| --- a/tests/language/math_vm_test.dart |
| +++ b/tests/language/math_vm_test.dart |
| @@ -37,8 +37,15 @@ class MathTest { |
| Expect.equals(false, testSqrt(const FakeNumber())); |
| } |
| } |
| + |
| +testDoublePow() { |
| + Expect.equals((1 << 32).toDouble(), pow(2.0, 32)); |
| +} |
| + |
| + |
| main() { |
| for (int i = 0; i < 200; i++) { |
|
Florian Schneider
2013/01/22 11:22:34
Not sure if 200 is enough to get it optimized reli
Vyacheslav Egorov (Google)
2013/01/22 11:36:31
This tests comes with VMOptions=--optimization_co
|
| MathTest.testMain(); |
| + testDoublePow(); |
| } |
| } |