Skip to content
Tcl Source Code Artifact [4b59579063]
Login

Artifact [4b59579063]

Artifact 4b595790638db4a149f37d1c086cfe27510f33852c9754ee14e6099f9d6d01d0:

Ticket change [4b59579063] - Ticket [8dd2807066d7cc4d|8dd2807066] <i>bug in single-argument &#39;max&#39; with bignums</i> status still Pending with 3 other changes by jan.nijtmans on 2025-11-11 12:00:56.
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