Closed rakudrama closed 9 years ago
Here's a strawman:
* Make ints 32 bits in Frog.
Provide a "long" type implemented in Dart that works for arbitrary length arithmetic.
Removed Type-Defect label. Added Type-Enhancement label.
Issue #1534 has been merged into this issue.
Removed Area-Frog label. Added Area-Dart2JS, FromAreaFrog labels.
Removed FromAreaFrog label. Changed the title to: "Figure out what to do about operations on int values outside the comfortable JS range".
Removed Type-Enhancement label. Added Type-Defect label.
Added TriageForM5 label.
Removed TriageForM5 label.
This comment was originally written by ngeoffray@google.com
Added Duplicate label. Marked as being merged into #1533.
Issue #636 was that parsing hex literals resulted in incorrect values. However, the numbers are still represented by JavaScript doubles, leading to various incorrect values. Arithmetic operations are mostly correct up until rounding at 53 bits. Bitwise operations are truncated to 32 bits.