Skip to content
Tcl Source Code Artifact [6c1a849f6a]
Login

Artifact [6c1a849f6a]

Artifact 6c1a849f6a5edf56f6eac99ca8c7b92d02b618dd:

Ticket change [6c1a849f6a] - Ticket [1917650fffffffff|1917650fff] <i>Tcl_ConvertToType(, , doubleType) incompatibility</i> status still Open with 4 other changes by ferrieux on 2008-05-31 17:30:17.
D 2008-05-31T17:30:17
J icomment Logged\sIn:\sYES\s\nuser_id=496139\nOriginator:\sNO\n\nDon,\swhile\sI\sagree\sabout\sthe\srecommended\sway,\sI'm\swondering\swhether\sit\sis\swise\sto\shave\sa\ssetFromAny\sfunction\sfork\sin\ssuch\sa\sweak\sfashion.\sIndeed,\sSetDoubleFromAny\sjust\sdelegates\sto\sTclParseNumber\swhich\shas\sa\svery\sbroad\sspectrum...\n\nIn\saddition,\sI\spropose\sa\sslight\sstyle\sfix\sin\sTcl_GetDoubleFromObj:\sa\spermutation\sof\sthe\stwo\slines:\n\n\s\s*dblPtr\s=\s(double)\sobjPtr->internalRep.doubleValue;\nand\n\s\s*dblPtr\s=\sobjPtr->internalRep.longValue;\n\nwhich\soccur\sin\sthe\swrong\scases\s(the\s(double)\scast\soccurs\son\san\salready-double\svalue,\sand\sthe\scast-less\sassignment\seffectively\scasts\san\slong\sto\sa\sdouble...).\n\n\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 1917650fffffffffffffffffffffffffffffffff
U ferrieux
Z 9c1a184937134c3f8ceebfb7075f13f1