Artifacts Associated With Ticket 540bed4bde
Ticket change [2bbf571dde] (rid 165288) by jan.nijtmans on 2018-09-04 14:28:03:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
Example: <pre> % string length [binary format w [expr {(wide(3) << 31) + (wide(3) << 64)}]] integer value too large to represent </pre> According to the documentation "binary format w" takes the least significant 64 bits from the given integer. Since Tcl has bignums, it should be able to do that, but this was never implemented for "binary format". Expected: <pre> % string length [binary format w [expr {(wide(3) << 31) + (wide(3) << 64)}]] 8 </pre> (since 64 bits always result in 8 bytes) - foundin initialized to: "8.6"
- is_private initialized to: "0"
- login: "jan.nijtmans"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "jan.nijtmans"
- subsystem initialized to: "16. Commands A-H"
- title initialized to:
binary format can result in "integer value too large to represent"
- type initialized to: "Bug"
Ticket change [19ebb2678d] (rid 165304) by jan.nijtmans on 2018-09-04 14:38:55:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2458366.11036089"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed for 8.7. Not really important enough to fix for 8.6 too, since then it needs to be done for both "int" and "wideInt". So, backporting is not 100% trivial.
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"