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: GMP bignum results using double cells. Date: Thu, 27 Feb 2003 10:43:06 -0600 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <8765r5oesl.fsf@raven.i.defaultvalue.org> References: <878yw3o8rd.fsf@raven.i.defaultvalue.org> <87k7fl6e69.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 1046364460 9157 80.91.224.249 (27 Feb 2003 16:47:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2003 16:47:40 +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 18oRC6-0002NZ-00 for ; Thu, 27 Feb 2003 17:47:39 +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 18oRA2-0004qP-01 for guile-devel@m.gmane.org; Thu, 27 Feb 2003 11:45:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18oR9Y-0004TU-00 for guile-devel@gnu.org; Thu, 27 Feb 2003 11:45:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18oR8O-0003K9-00 for guile-devel@gnu.org; Thu, 27 Feb 2003 11:43:49 -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 18oR7k-0002wv-00 for guile-devel@gnu.org; Thu, 27 Feb 2003 11:43:08 -0500 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 3784B559; Thu, 27 Feb 2003 10:43:07 -0600 (CST) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 0A62FD4DAA; Thu, 27 Feb 2003 10:43:07 -0600 (CST) Original-To: Marius Vollmer In-Reply-To: <87k7fl6e69.fsf@zagadka.ping.de> (Marius Vollmer's message of "27 Feb 2003 14:33:50 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) 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:1992 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1992 Marius Vollmer writes: >> However, this means that numbers.h now has to include gmp.h, and with >> the SCM_CELL_ADDR_1 approach, it wouldn't. I'd be happy to arrange >> things whichever way you prefer. > > Do we need to define scm_t_big_mpz in numbers.h? Couldn't it just be > an declared-but-undefined struct there? Like Possibly. In the first pass, I was just matching what the other types did, but this will probably work. I'll try it. >> In order to put it in configure.in, we have to have access to the >> definition of scm_t_bits (or at least SIZEOF_SCM_T_BITS) at configure >> time. Any thoughts? > > We can also put the test somewhere in init.c and have Guile abort > noisily when it fails. True. It'd be nice to have the test at configure, time, but perhaps that can wait for later, if ever... -- 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