<i>64 bit format command behaves differently to the 32bit forma</i> status still Open with 4 other changes
by
.
D 2001-03-22T07:32:19
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\nI\sconfirm\sthat\sthis\spatch\sadds\sthe\sability\sto\savoid\nthis\sbug.\s\sIt\sdoes\sso\sby\sadding\snew\sfeatures,\sthough,\nso\sperhaps\sa\sshort\sTIP\sis\sin\sorder.\n\nI'm\stroubled\sby\sthe\snon-Portability\sof\stest\sformat-1.13.\nNeither\sof\sthese\sresults\sreally\smakes\ssense\sto\sme:\n\n\s\s\s\s#\s32-bit\splatform:\n\s\s\s\s%\sformat\s%d\s4294967290\n\s\s\s\s-6\n\n\s\s\s\s#\s64-bit\splatform:\n\s\s\s\s%\sformat\s%d\s4294967290\n\s\s\s\sinteger\svalue\stoo\slarge\sto\srepresent\sas\snon-long\sinteger\n\nI\sunderstand\swhat's\sgoing\son,\sbut\swhy\sshould\sthe\sTcl\sscript\nlevel\sclaim\sthat\s-6\s==\s4294967290\sanywhere?\s\sAnd\sif\sit\nclaims\ssuch\snonsense\sanywhere,\swhy\snot\severywhere?\n\nWhat\sI\ssee\sabove\sis\sthe\svery\splatforms\swhich\s*can*\shandle\nthe\sinteger\svalue\s4294967290\sare\srefusing\sto\sdo\sso\sand\nthrowing\san\serror\sinstead,\sand\sthose\sthat\s*can't*\sare\nsilently\sconverting\sit\sinto\s-6\swithout\sthrowing\san\serror.\n\nI\ssuppose\sif\swe\sopen\sthe\stopic\sup\sa\sbit\sto\sa\sdiscussion\sof\nhow\sTcl\sought\sto\sbe\shandling\sinteger\svalues\sat\sthe\sscript\nlevel,\sthen\sa\sTIP\sis\sdefinitely\sin\sorder.\n
J login dgp
J mimetype text/plain
J username dgp
K 219223ffffffffffffffffffffffffffffffffff
U dgp
Z 10b73a47cff0998d29397d4af756b238