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

Unified Diff: sdk/lib/_internal/lib/math_patch.dart

Issue 104083003: Change dart2js' Random to honor the seed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/math_patch.dart
diff --git a/sdk/lib/_internal/lib/math_patch.dart b/sdk/lib/_internal/lib/math_patch.dart
index 672b5c2e1a0cbf4da9dbaac6584af2197e46a9c9..e3aabe3d4265451d9d114742159a247e6342fe9e 100644
--- a/sdk/lib/_internal/lib/math_patch.dart
+++ b/sdk/lib/_internal/lib/math_patch.dart
@@ -156,7 +156,7 @@ class _Random implements Random {
_nextState();
int bits26 = _lo & ((1 << 26) - 1);
_nextState();
- unt bits27 = _lo & ((1 << 27) - 1);
+ int bits27 = _lo & ((1 << 27) - 1);
return (bits26 * _POW2_27_D + bits27) / _POW2_53_D;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698