GMP unboxed number representation

Hans Aberg haberg@matematik.su.se
Tue, 8 May 2001 11:32:44 +0200


At 13:11 -0600 2001/05/07, Alastair Reid wrote:
>Could this discussion be moved to a different mailing list please?

Your wish is granted.

>Hugs doesn't use the GMP library and if it ever did it would restrict
>its use to the most portable subset.  It seems like this discussion
>is only relevant to GHC and, perhaps, HBC which are willing to
>pay almost any cost for a few cycles more.

Actually, there is a generic GMP library that only uses C and not assembler
(incidentally, the version that I happen to use). And the things we are
discussing are perfectly valid from that viewpoint only.

The assembler stuff is then only an optimization add-on.

  Hans Aberg