8c745c69d1
Dart `%` is modulo, JS `%` is remainder, so call the runtime version. Use dart2js interpretation of bit operations and shifts which always produce a 32-bit unsigned result. Optimization of the bit operations to follow. BUG= https://github.com/dart-lang/dev_compiler/issues/518 R=jmesserly@google.com Review URL: https://codereview.chromium.org/1924413002 .