Overview
| Artifact ID: | 84cb5293c4fba9725e6903612e785ee7e6e25744 |
|---|---|
| Ticket: | 3600057fffffffffffffffffffffffffffffffff
[string is double "0x5"] bug? |
| User & Date: | dgp on 2013-09-09 13:07:56 |
Changes
- icomment:
The -real option for [lsearch] arrived in Tcl 8.4: % info patch 8.4.0 % lsearch -exact -real {0x5 2} 2 1 (Combining -exact and -real is strange. but there it is) The ticket claims about [lsearch] just are not correct as far as I can tell. The consistent rule implemented by Tcl is that all integers are doubles. That is, the double "equivalent" can be determined and used. This is in the sense of [string is double] as well as Tcl_GetDoubleFromObj(). ("equivalent" can be rather loosely interpreted. All large enough bignum integers are equivalent to the double value "Inf") - login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"