Skip to content
Tcl Source Code Artifact [ef55c33a76]
Login

Artifact [ef55c33a76]

Artifact ef55c33a76f4e91b0aa57581581f7407c8e3254f:

Ticket change [ef55c33a76] - Ticket [3120139fffffffff|3120139fff] <i>Tcl_PrintDouble not locale-safe</i> status still Open with 4 other changes by kennykb on 2010-11-28 00:49:55.
D 2010-11-28T00:49:55
J icomment The\sattached\spatch\sis\sa\scomplete\srewrite\sof\sTclDoubleDigits,\smotivated\slargely\sby\sperformance\sconsiderations.\sIt\sexploits\sa\snumber\sof\simportant\sspecial\scases\sto\savoid\shideously\sexpensive\smp_div\soperations;\sfor\sall\snumbers\sless\sthan\s10**26,\sit\srequires\sno\smp_div\scalls,\sand\sfor\snumbers\sin\sthat\srange\sthat\sare\sat\sleast\s10**-3,\sit\srequires\sno\sbignum\sarithmetic\sat\sall.\n\nIt\sis\swell\stested\sonly\son\sLinux-x86\s--\sand\sno\sattempt\shas\sbeen\smade\sto\stweak\sthe\sbuild\ssystem\sto\sadd\sthe\stwo\sadditional\sneeded\slibtommath\sfiles\sto\sthe\sMacOSX\sbuild.\sIt\sshould\sbe\sat\sleast\svetted\son\sWindows\s(and\sthe\sMac\sbuild\srepaired\sand\stested)\sbefore\scommitting.\n\nIt's\sa\sbig\senough\schange\sthat\sI'm\sa\slittle\snervous\sabout\sbackporting\sit,\sand\sI\swelcome\sadvice.\n
J login kennykb
J mimetype text/plain
J username kennykb
K 3120139fffffffffffffffffffffffffffffffff
U kennykb
Z 466d9b2837eb220f95b8f3e7bc68189f