[Haskell] Bignums in Haskell

Wolfgang Jeltsch wolfgang at jeltsch.net
Tue Jun 21 09:40:11 EDT 2005


Am Dienstag, 21. Juni 2005 15:25 schrieb robert dockins:
> > Thank you for the prompt response. Do  you have any insight as to why
> > the GMP library is used instead of another library for arbitrary
> > precision? Also, I understand that Haskell does not specify an
> > implementation for bignums, but why would the developers of GHC not
> > implement bignums directly instead of using an outside library?
>
> Unfortunately, I don't have the answers to those questions; I'm not
> really a GHC hacker.  I would speculate however that the reasons are
> largely practical in nature: GMP already exists, is pretty dang fast,
> and is fairly portable.

And it's free. :-)

> Robert Dockins

Best wishes,
Wolfgang


More information about the Haskell mailing list