Skip to content
Tcl Source Code Artifact [06c7890735]
Login

Artifact [06c7890735]

Artifact 06c78907356ed544d8763007620de2fa8e49e14b903b61f5c205fa5fd163bb84:

Ticket change [06c7890735] - New ticket [98006f00ac471be5|98006f00ac] <i>tcl::mathfunc::isunordered inconsistency with some negative values</i>. by juliannoble2 on 2024-12-27 02:12:24.
D 2024-12-27T02:12:24.242
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment Tested\son\svarious\swindows\sbuilds\sonly.\r\n\r\nisunordered\sunexpectedly\sreturns\s1\sfor\sa\srange\sof\snegative\svalues\swhen\sthey\sare\sexpressed\sin\sinteger\sform.\s\r\n\r\nI'm\snot\ssure\sof\sthe\susecase\sfor\snegative\svalues\shere,\sbut\sit\sdoesn't\sseem\sto\smatch\sthe\sdocumentation\sas\sthey\sshould\sbe\spromotable\sto\sfloats,\sand\sas\sneither\sargument\sis\sNaN\s-\sthe\s1\sreturns\sare\sunexpected.\r\n\r\n%tcl::mathfunc::isunordered\s1\s-1.0\r\n0\r\n%tcl::mathfunc::isunordered\s1\s-1\r\n1\r\n\r\nThis\soccurs\sfor\snegative\svalues\sexpressed\sin\sinteger\sform\sup\sto\snegative\s2**52\r\nfor\snumbers\sbelow\sthat\s-\swe\sagain\sget\sa\szero\sresult.\r\n\r\n%tcl::mathfunc::isunordered\s-4503599627370495\r\n1\r\n%tcl::mathfunc::isunordered\s-4503599627370496\r\n0
J is_private 0
J login juliannoble2
J priority 5\sMedium
J private_contact 957fdfcd8744611e3fe1f4896c7538b1d9bf47b2
J resolution None
J severity Minor
J status Open
J submitter juliannoble2
J subsystem -\sNew\sBuiltin\sCommands
J title tcl::mathfunc::isunordered\sinconsistency\swith\ssome\snegative\svalues
J type Bug
K 98006f00ac471be55d983d6a42606abc38f1d809
U juliannoble2
Z 757656e38023709ed3565050b324d788