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

Unified Diff: tests/language/arithmetic_test.dart

Issue 12334080: For Doubl erounding call C-function instead of attempting to inline it. Fixes issue 8760. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/scalarlist/simd128.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/arithmetic_test.dart
===================================================================
--- tests/language/arithmetic_test.dart (revision 19004)
+++ tests/language/arithmetic_test.dart (working copy)
@@ -279,6 +279,8 @@
// Double.
Expect.equals(3.0, (2.6).round());
Expect.equals(-3.0, (-2.6).round());
+ Expect.equals(3.0, (2.5).round());
+ Expect.equals(-3.0, (-2.5).round());
Expect.equals(0.0, (0.0).round());
Expect.equals(0.0, (0.1).round());
Expect.equals(false, (0.0).round().isNegative);
« no previous file with comments | « sdk/lib/scalarlist/simd128.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698