mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:03:19 +00:00
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:
parent
8673b5e491
commit
0a538a4e62
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue