Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aa6bba4591386e414f4cb4d1b0e7e4c03709261b
Ticket: 2800740fffffffffffffffffffffffffffffffff
libtommath crash
User & Date: dgp on 2009-06-05 01:25:50
Changes

  1. icomment:
    
    confirmed.  On a Linux x86_64 system,
    Tcl's default configuration sets
    sizeof(mp_digit) to 8, so that the
    dp[] array is made up of 64-bit
    integer elements, and also sets
    DIGIT_BIT to 28, so that we are
    only using 28 out of each 64 bits
    to represent the numeric value.
    
    Over 50% waste!
    
    Some parts of the Tcl public interface
    accept (mp_int *) arguments.  Are we
    still free to change these settings without
    creating ABI incompatibilities there?
    
    Even if we are not, can we plausibly
    argue even in an 8.5.8 release that
    what we are really doing is fixing a bug
    in the implementation?  
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"