[Haskell] Bignums in Haskell

robert dockins robdockins at fastmail.fm
Mon Jun 20 16:53:23 EDT 2005


Well, to nitpick a little, Haskell is a language standard, and it does 
not specify a particular implementation for bignums.  However, GHC uses 
GMP for arbitrary precision integers, and I think Hugs does as well.  I 
can't really comment on NHC.

http://www.swox.com/gmp/index.orig.html



Marco Morazan wrote:

> Dear All,
> 
> I am searching for documents/web pages that describe how bignums
> (integers of arbitrary size) are implemented in Haskell. In
> particular, I am interested in how bignums are represented, the
> algorithms used for bignum arithmetic, base conversion algorithms, and
> performance studies. Any pointers you can provide will be greatly
> appreciated.
> 
> Best wishes,
> 
> Marco
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell



More information about the Haskell mailing list