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
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@haskell.org http://www.haskell.org/mailman/listinfo/haskell
participants (2)
-
Marco Morazan -
robert dockins