Type | Bug | Status | submitted | Date | 23-Aug-2014 02:01 |
---|---|---|---|---|---|
Version | r3 master | Category | Unspecified | Submitted by | abolka |
Platform | All | Severity | minor | Priority | normal |
Summary | Weird behaviour with large integer |
---|---|
Description |
See example code.
Originally reported by @Respectech as https://github.com/zsx/r3/issues/8 |
Example code |
>> 9'999'999'999'999'999'999 == 9223372036854775807 |
Assigned to | n/a | Fixed in | - | Last Update | 23-Aug-2014 04:26 |
---|
Comments | |
---|---|
(0004485)
szeng 23-Aug-2014 02:25 |
This should be fixed by
https://github.com/zsx/r3/commit/790829aa4f7613e281b4160abfe2f520aadd1b27 But when I tried to test the fix, I found another issue (when r3 is compiled with GCC -O2): >> to-integer #8000000000000000 == -'..--).0-*(+,))+(0( it worked fine when compiled with gcc -O0/-O1, or clang -O2 |
(0004486)
szeng 23-Aug-2014 04:26 |
OK. the "to-integer #8000000000000000" problem should be fixed by:
https://github.com/zsx/r3/commit/41bd1c619fcbdd2d36f6cf76a6f499d63979986d |
Date | User | Field | Action | Change |
---|---|---|---|---|
23-Aug-2014 04:26 | szeng | Comment : 0004486 | Added | - |
23-Aug-2014 02:25 | szeng | Comment : 0004485 | Added | - |
23-Aug-2014 02:01 | abolka | Ticket | Added | - |