Skip to content
Tcl Source Code Artifact [7fc6308e01]
Login

Artifact [7fc6308e01]

Artifact 7fc6308e01c1a39b0b00627a568b9bdfc7880c16:

Ticket change [7fc6308e01] - New ticket [758488ffffffffff|758488ffff] <i>pow(2,63) returns wrong result</i>. by hgschulz on 2003-06-21 18:09:02.
D 2003-06-21T18:09:02
J assignee nobody
J cmimetype text/plain
J comment Given\sthe\ssupport\sfor\s64-bit\snumbers,\sthere's\sno\sreason\nthat\npow(2,63)\sshouldn't\sdo\sthe\sright\sthing.\sCurrently,\sit\sdoes\n\nexpr\swide(pow(2,63))\n9223372036854775807\n\nwhich\sis\soff\sby\sone.\sOther\s64-bit\scomputations\sare\salso\nodd:\n\nexpr\swide(1\s<<\s62)\s\n1073741824\n\nexpr\s1\s<<\s62\n1073741824\n\n\n
J foundin obsolete:\s8.4.3
J priority 5\sMedium
J resolution None
J status Open
J submitter hgschulz
J subsystem None
J title pow(2,63)\sreturns\swrong\sresult
J type Bug
K 758488ffffffffffffffffffffffffffffffffff
U hgschulz
Z cb3cd3ae2284bb0ccb4de1f1be87e727