Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b7919ca12b8d3fedb559dc3133cb71f6591972b2
Ticket: e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c
Update libtommath to 1.0
User & Date: gahr on 2016-03-11 14:06:37
Changes

  1. icomment:
    Thanks for your comments Donald.
    
    So far I have identified the following changes in our version compared to upstream.
    
    * we fixed mp_iseven(a) to return true if a is 0 - thanks kbk for mentioning
    * we const'ified many function arguments - e.g., int mp_copy(const mp_int *a, mp_int *b)
    * we improved the performance of mp_sqrt
    
    There might be more subtle differences, I'm being very careful in reviewing the diffs.
    
    I already have a unix-only working version, I'll tackle Windows makefiles and X-Code projects later.
    
    I also have a few points to figure out:
    
    * is the TCL_TOMMATH define needed? (AC_DEFINE(TCL_TOMMATH, 1, [Build libtommath?]))
    * is the tcl::tommath dummy package needed? Can't we somehow merge the tommath stubs table with the main one?
    
    To be continued...
    
  2. login: "gahr"
  3. mimetype: "text/plain"
  4. username: "gahr"