Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fc4af5b26c76a789423d8748ff4b06c4c17ac24e33126b303e012501dea49e36
Ticket: b5bd08df8d61b4ea9bf0cc885f790b367c430a9f
The "int" type registration should be restored.
User & Date: marc_culler on 2024-07-03 15:40:24
Changes

  1. icomment:
    <p>
    In Python3 there is only one int class, which represents an arbitrary
    precision integer (with internal optimizations for small values).
    So the Python int is equivalent to the Tcl bignum object. Python2,
    which is long gone, had separate classes for fixed size binary
    integers and arbitrary precision integers.
    </p>
    
    According to the <a href="https://docs.python.org/3/library/stdtypes.html">
    Python documentation</a>:<br><br>
    
    </verbatim>
      There are three distinct numeric types: integers, floating point numbers,
      and complex numbers. In addition, Booleans are a subtype of integers.
      Integers have unlimited precision. Floating point numbers are usually
      implemented using double in C;
    </verbatim>
    
  2. login: "marc_culler"
  3. mimetype: "text/html"
  4. username: "Marc Culler"