commit | eb0d5cab61b1a71f58cce6c6fa22cc4699fb04aa | [log] [tgz] |
---|---|---|
author | Chris Bracken <chris@bracken.jp> | Tue Feb 06 15:10:41 2018 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 06 15:10:41 2018 -0800 |
tree | 4b60ac916962104c30d58cf2e0dc31099be7b6c2 | |
parent | 645147dd50597e17708474afa9df864ceb6ea9c8 [diff] | |
parent | 328b4f4e34ba915481707a7eb24eba860925712e [diff] |
Make bitshifts work at bitwidth boundaries Without this fix, new Int64(3) << 64 == Int64(3). This ensures that the result is 0 in such cases.
A fixed-width 32- and 64- bit integer library for Dart.
The fixnum package provides data types for signed 32- and 64-bit integers. The integer implementations in this library are designed to work identically whether executed on the Dart VM or compiled to JavaScript.
For more information, see the fixnum package on pub.dartlang.org.