This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: logxxx and bignums
- To: guile at sourceware dot cygnus dot com
- Subject: Re: logxxx and bignums
- From: Radey Shouman <Radey_Shouman at splashtech dot com>
- Date: 20 Jan 2000 12:56:28 -0500
"Dale P. Smith" <dpsm@en.com> writes:
> Hello List,
>
> I'm ready to extend the bit twidling functions to bignums, and my Boss
> is ready sign off on on the copyright.
>
> A question before I start. Negative numbers are coded as a positive
> number with a sign bit?
The sign bit is part of the header, there are separate tc_16 type
codes for positive and negative bignums. Least significant big digit
is first.
Recent SCM releases include logxxx functions applicable to bignums.