Artifacts Associated With Ticket 1006626
Ticket change [b97a2f6c6b] (rid 129153) by kennykb on 2004-08-10 14:59:09:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
If a string that looks as if it might be a wide integer overflows on input conversion, the Tcl library stumbles when attempting to convert it to a double: % expr 0x7fffffffffffffff 9223372036854775807 % set x -9223372036854775809 -9223372036854775809 % expr double($x) 9.22337203685e+018 % scan $x %g -9.22337203685e+018 This bug is related to 868489, but does not appear to have as simple a fix. (By the way, how's 868489 coming? Reviewed the patch yet?)
- foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "kennykb"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to: "bizarre interaction between wide int and double"
- type initialized to: "Support"
Ticket change [9a5cf82198] (rid 110931) by dkf on 2004-09-11 05:57:57:
- icomment:
Logged In: YES user_id=79902 Problem is (in HEAD) line 2466 of tclObj.c, which is in SetWideIntFromAny, and it is that we do not check for overflow (or is it underflow?) when negating the value. :(
- login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "10. Objects"
- username: "dkf"
- icomment:
Ticket change [23d6daf2f8] (rid 131002) by dkf on 2004-09-19 00:19:06:
- icomment:
Logged In: YES user_id=79902 Of course, the problem is what to actually do about it. I suspect the right thing might be to define a new ObjType (overflowedNumberObjType?) which is understood by Tcl_GetWideIntFromObj but which is not recognized as numeric by TEBC and its cohorts...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [9e938e11a0] (rid 96498) by dkf on 2005-04-29 21:15:35:
- assignee changed to: "kennykb"
Ticket change [a730805ad9] (rid 98747) by dgp on 2005-09-28 00:53:59:
- icomment:
Logged In: YES user_id=80530 Bug is fixed on numerics branch (TIP 237).
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [11cb20d989] (rid 95202) by dgp on 2005-11-02 00:24:23:
- assignee changed to: "dgp"
- closedate changed to: "2005-11-01T17:24:23"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 TIP 237 fixed this.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: ""
- status changed to: "Closed"
- username: "dgp"
Ticket change [91928a6e77] (rid 120637) by dkf on 2008-11-02 18:23:47:
- icomment:
data_type - 210894
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [45150f613e] (rid 116824) by dkf on 2008-11-02 18:23:48:
- assignee changed to: "nobody"
- foundin changed to: "None"
- is_private changed to: "1"
- subsystem changed to: "None"
Ticket change [8808d743d5] (rid 131800) by dkf on 2009-07-29 19:55:55:
- icomment:
IP - Comment Removed: 130.88.1.31
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment: