<i>expr doesn't always "do the right thing" with signed vs. uns</i>.
by
.
D 2000-10-26T00:54:39
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2584\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-08-20'\nLastModified:\s'2000-04-03'\nSeverity:\sLOW\nStatus:\sClosed\nSubmitter:\shobbs\nChangedBy:\shobbs\nOS:\sAll\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-04-03'\n\n\nIn\sthe\sfollowing:\n\n(tkcon)\s49\s%\sexpr\s2147483647\n2147483647\n(tkcon)\s50\s%\sexpr\s2147483648\n-2147483648\n(tkcon)\s51\s%\sexpr\s2147483649\n-2147483647\n\nWe\sare\sgetting\s"undesirable"\sresults.\s\sShould\scheck\sand\ssee\nwhat\sa\strue\s64\sbit\sOS\sdoes.\n\nThis\smay\sbe\s"undesirable",\sbut\sit\sis\sexpected\son\s32bit\sint\ssystems.\n64bit\ssystems\swill\sjust\swrap\sat\sa\smuch\slarger\svalue.\s\sIt\swas\sdiscussed\nat\san\searlier\spoint\swhether\sTcl\sshould\swrap\sor\scomplain\sinstead,\sand\nit\swas\sdecided\sthat\swrapping\sis\s"better"\s(after\sall,\sthat's\swhat\sC\ndoes\stoo).\s\n--\s04/03/2000\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title expr\sdoesn't\salways\s"do\sthe\sright\sthing"\swith\ssigned\svs.\suns
J type RFE
K 218220ffffffffffffffffffffffffffffffffff
U nobody
Z 4c6ad24c71e92c5751e0fe7c34456657