[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nearly finished (re)integrating GMP for bignums.
From: |
Rob Browning |
Subject: |
Re: Nearly finished (re)integrating GMP for bignums. |
Date: |
Wed, 26 Feb 2003 23:11:41 -0600 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
Mikael Djurfeldt <address@hidden> writes:
> Ideally, the bignum code would use the pluggable source of random bits
> in random.c and the GMP generators would be provided as optional
> plugins for random.c. Rob, is this possible?
For now, I think I'd like to consider just translating the existing
scm_c_random_bignum to manipulate mpz_t values rather than the old
bignum digits.
If you (or anyone else) is familiar with this function, could you
explain the critical parts? I can probably figure out how to
translate it eventually by just looking at the code, but that process
would probably go a lot faster if I had an overview.
I'd like to know things like how critical it is that it operate on
16-bit chunks -- what interdependencies does that create, etc. If
possible, it'll probably be faster and easier to work with larger
chunks when manipulating the mpz_t's.
Thanks
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4