guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nearly finished (re)integrating GMP for bignums.


From: Marius Vollmer
Subject: Re: Nearly finished (re)integrating GMP for bignums.
Date: 12 Feb 2003 17:26:37 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Rob Browning <address@hidden> writes:

> One thing I note is that it looks like the code presumes
> that an INUM will always fit into a 32bit integer.  Do we guarantee
> that, or is there the possibility we might allow 64bit inums?  I
> wasn't sure which guarantees we planned to make.

Aren't we already using 64 bits for scm_t_bits on some platforms (such
as the Alpha and IA64)?  Even if we don't, code should use
SIZEOF_SCM_T_BITS, etc.

> With respect to random.c, we have a pluggable random number system,
> and ATM the bignum randoms are computed using the
> "get_32_random_bits()" function provided by the random state object.
> However GMP has its own random number generators, including ones for
> bignums.  Any thoughts on how we should handle this?

I think we should use the GMP generators unless they are not as good
as ours.  But I doubt that.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

[Prev in Thread] Current Thread [Next in Thread]