From: SourceForge.net <no...@so...> - 2005-12-16 17:11:34
|
Bugs item #1382287, was opened at 2005-12-16 04:30 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1382287&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 18. Commands M-Z Group: development: 8.5a4 Status: Open Resolution: None Priority: 7 Submitted By: tobias_hippler (thippler) Assigned to: Don Porter (dgp) Summary: "string is double" shimmers object, while returning 0 Initial Comment: Since a4 a new string to number conversion technique has been introduced. This new behaviour, in current state, can lead to severe program failures. The question is, can it be considered valid for "string is double" to return 0 (false) while shimmering the Tcl_Obj in question to "double"? The attached TCL snippet illustrates the problem. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2005-12-16 12:11 Message: Logged In: YES user_id=80530 % set x 2turtledoves 2turtledoves % string is double $x 0 % string is double $x 1 ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2005-12-16 12:03 Message: Logged In: YES user_id=80530 Thanks for catching this. ---------------------------------------------------------------------- Comment By: miguel sofer (msofer) Date: 2005-12-16 04:35 Message: Logged In: YES user_id=148712 No file is attached. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1382287&group_id=10894 |