Bignum source code
An infinite-precision function library for Miranda and Haskell
Bignum is maintained in two versions:
the Miranda version implements a Bignum type and a set of functions that
operate upon them (as described in the syntax section).
The Haskell version just implements a BigFloat type, on which all the usual
operations can be performed as with any other Floating type.
See the comments at the start of the source file.