Skip to content
Tcl Source Code Artifact [f043e599d0]
Login

Artifact [f043e599d0]

Artifact f043e599d017b1a16451f67213d2feaadda2ebbb:

Ticket change [f043e599d0] - Ticket [3401704fffffffff|3401704fff] <i>expr parses numbers before function names</i> status still Open with 4 other changes by ferrieux on 2011-09-01 00:15:04.
D 2011-09-01T00:15:04
J icomment It\slooks\slike\sTclParseNumber\stries\sto\smimic\sstrtod.\sQuoting\sthe\smanpage:\n\n\sThe\s\sstrtod(),\s\sstrtof(),\s\sand\s\sstrtold()\sfunctions\sconvert\sthe\sinitial\n\sportion\sof\sthe\sstring\spointed\sto\sby\snptr\sto\s\sdouble,\s\sfloat,\s\sand\s\slong\n\sdouble\srepresentation,\srespectively.\n\nThe\sattached\spatch\sfixes\sthe\sissue\sby\sdetecting\strailers\safter\sNan\sand\sInf[inity].\nTrailers\scurrently\sdefined\sas\s[0-9A-Za-z_],\sshould\sbe\sgeneralized\s(is\sthere\sa\sfunction\sfor\sthat\s?).\n\nIn\scase\sthey\sare\sdetected,\sthe\snumber\sparser\sbails\sout,\sand\s[expr]\sreports\sthe\scorrect\s"invalid\sbareword\snancy"\sor\s"invalid\scommand\sname\s::tcl::mathfunc::nancy\sdepending\son\sthe\scontext.\s\n\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3401704fffffffffffffffffffffffffffffffff
U ferrieux
Z 0a29b68cd8b89d43e4ddb2072d3386e7