guile-devel
[Top][All Lists]
Advanced

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

Re: GMP bignum results using double cells.


From: Rob Browning
Subject: Re: GMP bignum results using double cells.
Date: Thu, 27 Feb 2003 10:43:06 -0600
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

Marius Vollmer <address@hidden> 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




reply via email to

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