Skip to content
Tcl Source Code Artifact [038435b373]
Login

Artifact [038435b373]

Artifact 038435b3736cb2a5a3114fc790562a9e822b529f:

Ticket change [038435b373] - New ticket [1198892fffffffff|1198892fff] <i>expr {2**0} returns 2 instead of 1</i>. by arjenmarkus on 2005-05-10 09:23:18.
D 2005-05-10T09:23:18
J assignee dkf
J cmimetype text/plain
J comment As\sdescribed\sby\sKaitschu\sin\sa\sposting\sto\scomp.lang.tcl,\nthe\scommand\s[expr\s{2**0}]\sreturns\s2\sinstead\sof\s1.\n\nI\schecked\sthis\ssomewhat\sspecial\scase\sin\sthe\stest\sfile,\nbut\sthere\sis\snone\sthat\sexplicitly\stests\sthis\sone\s(there\nare\srelated\stests).\sNote\sthat\s[expr\s{2.0**0}]\s_does_\nreturn\s1.0,\sas\sdoes\s[expr\s{2**0.0}]\n\nTo\ssolve\sthe\sbug:\n-\sCorrect\sthe\scode\sin\stclExecute.c\n-\sAdd\stests\sfor\sthis\sexponent\sto\sexpr.test
J foundin obsolete:\s8.5a3
J priority 5\sMedium
J resolution None
J status Open
J submitter arjenmarkus
J subsystem 16.\sCommands\sA-H
J title expr\s{2**0}\sreturns\s2\sinstead\sof\s1
J type Bug
K 1198892fffffffffffffffffffffffffffffffff
U arjenmarkus
Z d0ec91d16f3a3ef2c20292c202281487