.
D 2009-07-29T04:49:34
J icomment The\sissue\sis\sthat\s8.5\suses\sdifferent\srounding\sby\sdefault\swhen\sconverting\sdoubles\sto\sstrings,\snot\sthat\s8.5\shas\ssuddenly\sbecome\sless\saccurate\s(the\sdeep\sproblem\sis\sthat\s0.35,\s0.45\sand\s0.15\sdo\snot\shave\sfinite\sexpansions\sin\sIEEE\sbinary\sarithmetic).\sCompare\sthese\stwo\slogs\sand\snotice\sthat\sthe\svalues\sare\sactually\sthe\ssame\sexcept\sfor\sthe\sdifferent\snumber\sof\sdecimal\splaces.\n\n%\sinfo\spatch\n8.4.7\n%\sexpr\s0.8\s-\s0.35\n0.45\n%\sexpr\s0.6\s-\s0.15\n0.45\n%\sexpr\s0.8\s-\s0.35\s-\s0.45\n5.55111512313e-17\n%\sexpr\s0.6\s-\s0.15\s-\s0.45\n-5.55111512313e-17\n\n%\sinfo\spatch\n8.5.2\n%\sexpr\s0.8\s-\s0.35\s-\s0.45\n5.551115123125783e-17\n%\sexpr\s0.6\s-\s0.15\s-\s0.45\n-5.551115123125783e-17\n\nI'll\slet\sdgp\ssuggest\sa\sworkaround\sfor\syou.\n
J login dkf
J mimetype text/plain
J username dkf
K 2828631fffffffffffffffffffffffffffffffff
U dkf
Z 217b635f0ea54bcb8e407f8f80b0ad6e