Avoid truncating shift in lib_2/math/low_test

Change-Id: I7902c0839663775abb94c3e2dcfee14ac8e4beb3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108281
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
This commit is contained in:
Stephen Adams 2019-07-05 19:47:47 +00:00 committed by commit-bot@chromium.org
parent 8673b5e491
commit 0a538a4e62
2 changed files with 1 additions and 2 deletions

View file

@ -82,7 +82,6 @@ isolate/*: SkipByDesign # No support for dart:isolate in dart4web (http://dartbu
js/null_test: RuntimeError # Issue 30652
math/double_pow_test: RuntimeError # Issue 29922
math/double_pow_test: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
math/low_test: RuntimeError # Issue 29922
math/random_big_test: RuntimeError # Issue 29922
mirrors/*: SkipByDesign # Mirrors not supported on web in Dart 2.0.
mirrors/private_types_test: RuntimeError # Issue 29922

View file

@ -9,7 +9,7 @@ import "package:expect/expect.dart";
import 'dart:math';
void main() {
var n = (2 * (1 << 32)) ~/ 3;
var n = (2 * 0x100000000) ~/ 3;
var n2 = n ~/ 2;
var iterations = 200000;