<i>bug in single-argument 'max' with bignums</i> status still Pending with 3 other changes
by
.
D 2025-11-11T12:00:56.257
J icomment In\sTcl\s8.6,\sit's\sintentional\sthat\sTclCompareTwoNumbers\sis\sdestructive:\sIt\sis\sonly\sused\sin\sthe\sbytecode\sengine,\swhen\stwo\snumbers\sare\spopped\sof\sthe\sstack,\sand\sthe\scompare\sresult\sis\spushed\sback\son\sthe\sstack.\sAs\slong\sas\sthat's\sthe\sonly\splace\sit's\sused,\sthat\sshould\sbe\sOK.\r\n\r\nOn\s9.0,\sthe\sfunction\sis\sre-used\sfor\sthe\smax/min\sfunctions\swhich\swere\sre-implemented\sin\sC.\sThat's\swhere\sthe\sproblem\sstarted.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 8dd2807066d7cc4d8604164f39b7f0d65c0dc321
U jan.nijtmans
Z fe4a1a2636b9b7ceb6fe2282e771edf8