Skip to content
Tcl Source Code Artifact [3e38aef56a]
Login

Artifact [3e38aef56a]

Artifact 3e38aef56a7c0e93e2d88824111e33776ffa3759bc615423c5f45223b9b66714:

Ticket change [3e38aef56a] - Ticket [6dccab47cdf686a0|6dccab47cd] <i>mathfunc::int incompatibility between 8.6 and 8.7</i> status still Open with 3 other changes by chrstphrchvz on 2023-04-10 04:41:12.
D 2023-04-10T04:41:12.267
J icomment I\shave\sbeen\sunder\sthe\simpression\sthat\s8.7\swill\sonly\sbe\sABI\scompatible\swith\s8.6,\sand\snot\snecessarily\sscript\scompatible.\sI\sbelieve\sthis\sparticular\schange\sis\sdue\sto\sTIP\s514.\sIf\sone\sneeds\sto\sperform\ssigned\struncation\sto\sa\sspecific\swidth\sthen\sI\swould\sthink\sthey\sare\sbetter\soff\susing\sfunctions\slike:\r\n<pre>\r\nproc\sto_signed_32bit\s{x}\s{expr\s{(($x\s+\s0x80000000)\s&\s0xffffffff)\s-\s0x80000000}}\r\n</pre>\r\n\r\nand\sthat\sif\sthey\sreally\sneed\sto\sknow\s<tt>sizeof(long)</tt>\sthen\sthey\scan\scheck\s<tt>$tcl_platform(wordSize)</tt>.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 6dccab47cdf686a0c33c73c4f11a53e9a677edc9
U chrstphrchvz
Z c6926e7d9ef1997a0bdd70b8214d024c