Changes between Version 1 and Version 2 of Commentary/Libraries/Integer


Ignore:
Timestamp:
Sep 24, 2011 11:45:13 PM (3 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Libraries/Integer

    v1 v2  
    77== Selecting an Integer implementation  == 
    88 
    9 TODO 
     9You can select which implementation of Integer is used by defining `INTEGER_LIBRARY` in `mk/build.mk`. The code is in `libraries/$(INTEGER_LIBRARY)`. 
     10 
     11The default value is `integer-gmp`, which uses the [http://gmplib.org/ GNU Multiple Precision Arithmetic Library (GMP)] to define the Integer type and its operations. 
     12 
     13The other implementation currently available is `integer-simple`, which uses a simple (but slow, for larger Integers) pure Haskell implementation. 
    1014 
    1115== The Integer interface  ==