This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: logxxx and bignums


"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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]