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

Unified Diff: runtime/lib/double.dart

Issue 509153003: New bigint implementation in the vm. (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
Index: runtime/lib/double.dart
===================================================================
--- runtime/lib/double.dart (revision 40047)
+++ runtime/lib/double.dart (working copy)
@@ -134,6 +134,7 @@
}
int toInt() native "Double_toInt";
+ _Bigint _toBigint() { return toInt()._toBigint(); }
double toDouble() { return this; }
static const int CACHE_SIZE_LOG2 = 3;

Powered by Google App Engine
This is Rietveld 408576698