#369 closed defect (fixed)
basic arithmetic broken on 64-bit platforms
Reported by: | felix winkelmann | Owned by: | felix winkelmann |
---|---|---|---|
Priority: | major | Milestone: | 4.9.0 |
Component: | unknown | Version: | 4.6.x |
Keywords: | arithmetic | Cc: | |
Estimated difficulty: |
Description
On 64-bit systems, fixnum range can exceed the precision of doubles, which will generate sometimes incorrect results (due to the way overflow is currently detected). +, -, * and / will have to be reimplemented completely differently.
(reported by Jeronimo Pellegrini)
Note: See
TracTickets for help on using
tickets.
Has been fixed in "overflow-detection" branch and merged into "experimental" to be released as 4.6.3.