<i>tcl::mathfunc::isunordered inconsistency with some negative values</i> status still Open with 3 other changes
by
.
D 2024-12-27T02:13:41.630
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\s1\s-4503599627370495\r\n1\r\n%tcl::mathfunc::isunordered\s1\s-4503599627370496\r\n0
J login juliannoble2
J mimetype text/plain
K 98006f00ac471be55d983d6a42606abc38f1d809
U juliannoble2
Z 16b68f25491eac62e522085106d3b449