Overview
| Artifact ID: | d750af0b42826a3a531e36aac71527a88ac6247e |
|---|---|
| Ticket: | 1710132fffffffffffffffffffffffffffffffff
[expr int(9...9)] returns -1 ... Is this a bug? |
| User & Date: | afredd on 2007-04-30 15:35:16 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
Consider, % info pat 8.5a6 % expr int(9999999999999999999999999999999999999999999999) -1 but % info pat 8.4.14 % expr int(9999999999999999999999999999999999999999999999) integer value too large to represent Also get similar behaviour with wide(). Judging from the code the new behaviour should be to return the result that is the bottom sizeof(the-relevent-C-integer-type) bits of the argument (ExprIntFunc), but the result is getting set to -1. mp_mod_2d() looks a possible culprit.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "afredd"
- subsystem changed to: "48. Number Handling"
- title changed to: "[expr int(9...9)] returns -1 ... Is this a bug?"
- type changed to: "Bug"