From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: Nearly finished (re)integrating GMP for bignums. Date: Wed, 26 Feb 2003 23:11:41 -0600 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87vfz6nw8i.fsf@raven.i.defaultvalue.org> References: <87heb9pjni.fsf@raven.i.defaultvalue.org> <87r8adihxe.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046322772 24604 80.91.224.249 (27 Feb 2003 05:12:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2003 05:12:52 +0000 (UTC) Cc: Marius Vollmer 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 18oGLi-0006Od-00 for ; Thu, 27 Feb 2003 06:12:51 +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 18oGKy-0006sC-01 for guile-devel@m.gmane.org; Thu, 27 Feb 2003 00:12:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18oGKh-0006s3-00 for guile-devel@gnu.org; Thu, 27 Feb 2003 00:11:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18oGKf-0006qM-00 for guile-devel@gnu.org; Thu, 27 Feb 2003 00:11:46 -0500 Original-Received: from dsl093-098-016.wdc1.dsl.speakeasy.net ([66.93.98.16] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18oGKe-0006kx-00 for guile-devel@gnu.org; Thu, 27 Feb 2003 00:11:45 -0500 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 25DB63791; Wed, 26 Feb 2003 23:11:42 -0600 (CST) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id F1C06D3C96; Wed, 26 Feb 2003 23:11:41 -0600 (CST) Original-To: djurfeldt@nada.kth.se In-Reply-To: (Mikael Djurfeldt's message of "Wed, 12 Feb 2003 18:34:59 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) Original-cc: guile-devel@gnu.org 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:1987 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1987 Mikael Djurfeldt 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 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel