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

Unified Diff: runtime/lib/double.dart

Issue 559203003: Fix wrong conversion from double to bigint in overriden operators of new bigint. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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 | « runtime/lib/bigint.dart ('k') | runtime/lib/integers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/double.dart
===================================================================
--- runtime/lib/double.dart (revision 40121)
+++ runtime/lib/double.dart (working copy)
@@ -134,7 +134,7 @@
}
int toInt() native "Double_toInt";
- _Bigint _toBigint() { return toInt()._toBigint(); }
+ num _toBigintOrDouble() { return this; }
double toDouble() { return this; }
static const int CACHE_SIZE_LOG2 = 3;
« no previous file with comments | « runtime/lib/bigint.dart ('k') | runtime/lib/integers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698