Bignums in Haskell

Serge D. Mechveliani mechvel at botik.ru
Tue Jun 21 07:58:12 EDT 2005


On Tue, Jun 21, 2005 at 07:37:08AM -0400, Marco Morazan wrote:
> Hello all,
> 
> Do any of you have insight into why GHC uses GMP as opposed to another
> library for arbitrary precision numbers? Also, why would bignums not
> be directly implemented for the GHC or other implementations of
> Haskell?


Efficient arithmetic algorithms for large numbers is a matter of 
mathematics. Such algorithms, and libraries, are developed by the 
best experts in computational mathematics. Maybe, GMP is such.

Regards,

-----------------
Serge Mechveliani
mechvel at botik.ru


More information about the Glasgow-haskell-users mailing list