Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Side by Side Diff: tests/language/vm/regress_24517_test.dart

Issue 1395543003: VM: Fix FP math discrepancies by adding -mfpmath=sse to 32-bit simulator and cross host builds. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: added regression test Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // VMOptions=--no-intrinsify
6
7 // Test that math runtime function (non-intrinsified) produce the expected
8 // result and don't deviate due to double-rounding when using 80-bit FP ops.
9
10 import "dart:math";
11 import "package:expect/expect.dart";
12
13 main() {
14 var x = 2.028240960366921e+31;
15 Expect.equals(4503599627372443.0, sqrt(x));
16 }
OLDNEW
« no previous file with comments | « no previous file | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698