From: SourceForge.net <no...@so...> - 2005-05-17 18:13:51
|
Bugs item #1203787, was opened at 2005-05-17 14:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1203787&group_id=10894 Category: 46. Bytecode Compiler Group: current: 8.4.9 Status: Open Resolution: None Priority: 5 Submitted By: Don Porter (dgp) Assigned to: miguel sofer (msofer) Summary: NaN's escape detection in expressions Initial Comment: % binary scan [binary format d NaN] d d 1 % expr {$d} domain error: argument not in valid range Good. But... % expr {$d && $d} 1 Problem is that TEBC directly pokes into the objPtr->typePtr of values and accepts anything of tclDoubleType as a valid double. A call to Tcl_GetDoubleFromObj would include the NaN check. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1203787&group_id=10894 |