.
D 2002-07-03T02:10:33
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\n"So,\sapparently\sthe\sexpr\sprocedure\sevaluates\sdifferently\nthan\sthe\sparsing\sof\sthe\sif\sconditional"\n\nNo,\syou\swill\sfind\sthat\n\n\s\s\s\s[expr\s{3.6\s>\s$x}]\n\nalways\sgives\sthe\ssame\sresult\sas\n\n\s\s\sif\s{3.6\s>\s$x}\s{...}\n\nYou\sdid\snot\senclose\sthe\sexpression\sin\nbraces,\sso\stwo\srounds\sof\ssubstituion\noccurred,\sincluding\sa\stranslation\sfrom\ndouble\s->\sstring\s->\sdouble.\s\sSuch\ntranslations\soften\slose\sprecision\sand\nchange\sthe\sprecise\sfloating\spoint\svalue.\n\nSeeking\sarbitrarily\sprecise\sanswers\sinvolving\nfloating\spoint\svalues\sis\sa\smistake\sin\sthe\nfirst\splace.\n
J login dgp
J mimetype text/plain
J status Open
J username dgp
K 576512ffffffffffffffffffffffffffffffffff
U dgp
Z a2f2be3307f6055b6be3466dc1aedeb3