.
D 2005-08-27T00:58:58
J assignee msofer
J closedate 2005-08-26T17:58:58
J closer msofer
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nOops\s-\ssorry,\shad\snot\sseen\sthe\sattached\sfile.\sI\sdid\stake\sa\nlook\sat\sthe\snew\s"Full\stest\scase"\s(it\sis\smissing\sa\sparen\sin\nline\s51,\sbut\sthis\sis\sirrelevant\sfor\sthis\sbug\sreport)\n\nThe\sproblem\sis\scaused\sby\sthe\sfact\sthat\syour\sexpressions\sin\nline\s50\sand\s51\sare\snot\s{}'quoted.\sThis\scauses\sthe\svalues\sof\nthe\svariables\sto\sbe\sre-read\sfrom\stheir\sstring\nrepresentation,\swith\ssome\sloss\sin\sprecision\sif\stcl_precision\nis\sless\sthan\s17\s(it\sis\s12\sby\sdefault).\sThis\sis\snot\sreally\sa\sbug.\n\nSo\sthere\sare\stwo\spossible\sfixes\s(and\sI\srecommend\susing\sboth):\n\n(1)\sdo\s{}'quote\syour\sexpressions:\sit\sis\smuch\sfaster,\sit\sdoes\nnot\sproduce\sthese\seffects,\sand\sis\salmost\salways\sthe\sright\nthing\sto\sdo.\sThere\sare\sfew\scases\swhere\syou\smay\swant\stwo\nsubstitution\srounds\s(one\sby\sthe\stcl\sinterpreter,\sone\sby\sthe\n[expr])\sinterpreter).\sIf\sthat\sis\swhat\syou're\safter,\sit\swill\nbe\sclear\sto\syou.\n\n(2)\sdo\s'set\s::tcl_precision\s17'\swhen\sworking\swith\sdoubles\n(but\ssee\shttp://www.tcl.tk/man/tcl8.4/TclCmd/tclvars.htm#M39\nfor\ssome\sgotchas)\n\n
J login msofer
J mimetype text/plain
J resolution Invalid
J status Pending
J username msofer
K 1273713fffffffffffffffffffffffffffffffff
U msofer
Z 0549deeb7a498cfeb5143d284164afcd