Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3e38aef56a7c0e93e2d88824111e33776ffa3759bc615423c5f45223b9b66714
Ticket: 6dccab47cdf686a0c33c73c4f11a53e9a677edc9
mathfunc::int incompatibility between 8.6 and 8.7
User & Date: chrstphrchvz on 2023-04-10 04:41:12
Changes

  1. icomment:
    I have been under the impression that 8.7 will only be ABI compatible with 8.6, and not necessarily script compatible. I believe this particular change is due to TIP 514. If one needs to perform signed truncation to a specific width then I would think they are better off using functions like:
    <pre>
    proc to_signed_32bit {x} {expr {(($x + 0x80000000) & 0xffffffff) - 0x80000000}}
    </pre>
    
    and that if they really need to know <tt>sizeof(long)</tt> then they can check <tt>$tcl_platform(wordSize)</tt>.
    
  2. login: "chrstphrchvz"
  3. mimetype: "text/x-fossil-wiki"