From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: Nearly finished (re)integrating GMP for bignums. Date: 12 Feb 2003 17:26:37 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87r8adihxe.fsf@zagadka.ping.de> References: <87heb9pjni.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045067871 9042 80.91.224.249 (12 Feb 2003 16:37:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 16:37:51 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18izhg-0001N4-00 for ; Wed, 12 Feb 2003 17:25:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18izjh-0005SN-01 for guile-devel@m.gmane.org; Wed, 12 Feb 2003 11:27:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18izjO-0005L4-00 for guile-devel@gnu.org; Wed, 12 Feb 2003 11:27:30 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18izig-00053R-00 for guile-devel@gnu.org; Wed, 12 Feb 2003 11:26:47 -0500 Original-Received: from [129.217.163.6] (helo=zagadka.ping.de) by monty-python.gnu.org with smtp (Exim 4.10.13) id 18iziZ-0004mQ-00 for guile-devel@gnu.org; Wed, 12 Feb 2003 11:26:39 -0500 Original-Received: (qmail 23569 invoked by uid 1000); 12 Feb 2003 16:26:37 -0000 Original-To: Rob Browning In-Reply-To: <87heb9pjni.fsf@raven.i.defaultvalue.org> Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1915 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1915 Rob Browning 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 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel