Changeset 31495 in project


Ignore:
Timestamp:
09/24/14 09:36:44 (6 years ago)
Author:
sjamaan
Message:

numbers: Add note about gcd and header tag usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/numbers/trunk/NOTES

    r31494 r31495  
    1515In the CHICKEN 4 numbers egg, this is faked out because we can't truly
    1616extend the core number types, so bignums are structures as well.  But
    17 for integration into core, this is changed to a true type.
     17for integration into core, this is changed to a true type by using one
     18of the two remaining unused header tags.
    1819
    1920In intermediate versions of the "numbers" egg, we had to pass a
     
    9394operations you may get a flonum, which will also result in the generic
    9495number functions being used.
     96
     97=== Other random notes
     98
     99A diadic version of "gcd" has been pulled into C for performance reasons.
     100This is because ratnums require calculation of the gcd as part of their
     101normalization process.  See also the impact of this function's performance
     102on the performance of the cl-bench-bignum.scm code's run-pi-decimal/big part.
Note: See TracChangeset for help on using the changeset viewer.