Skip to content
Tcl Source Code Artifact [cb9f600deb]
Login

Artifact [cb9f600deb]

Artifact cb9f600deb5a567dd9491a384a4399fbc944b84b7731c380a8ff611b533030c2:

Ticket change [cb9f600deb] - Closed ticket [e3dcab1d14c0bcc5|e3dcab1d14]: <i>Tcl aborts with wrong digits</i> plus 6 other changes by kbk on 2023-01-22 02:27:07.
D 2023-01-22T02:27:07.048
J closedate 2459966.60216491
J closer kbk
J icomment There\swas\san\soff-by-one\sin\sthree\s(closely\srelated)\splaces\sin\stclStrToD.c\sthat\saffected\s15<=tcl_precision<=18\sfor\scertain\sdouble\svalues\sthat\swere\svery\sclose\sto\soverflowing\sintermediate\sresults.\sIt\swould\stake\smore\swork\sto\sexplain\sexactly\swhich\svalues\sare\saffected,\sbut\s2**-87\sis\sdefinitely\sone\sof\sthem,\sand\sthere's\sa\ssuitable\stest\scase\sfor\s8.x.\r\n\r\nTcl\s9.x\shas\sthe\sbug\sfixed,\sbut\sthe\sbehaviour\sappears\sto\sbe\suntestable\sat\sscript\slevel\sat\sthe\smoment.\sI'll\slook\sinto\stidying\sthat\sat\ssome\spoint.\s\sIf\swe\sever\sget\saround\sto\susing\sTcl_DoubleDigits\sin\sTcl_AppendFormatToObj\s(which\swould\sprobably\sbe\sa\sgood\sidea),\sthen\swe'll\sneed\sthe\ssame\scode.
J login kbk
J mimetype text/plain
J resolution Fixed
J status Closed
K e3dcab1d14c0bcc5938ee570b2e0da208bff9239
U kbk
Z 205daa8108c3e041ed7aedb4cff7cb6e