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: Should logior (and friends) operate only on inums?


Maciej Stachowiak writes:

 > I have to agree with Marius. Can you imagine the confusion of having to
 > load one module for bit-twiddling operations, another for bit twiddling
 > operations that work on bignums, another for arithmetic on bignums, etc?
 > One of Scheme's advantages is that it hides you from having to care how
 > many bits are in your number, even if the machine cares.
 > 
 > Mathematical operations should (in theory) support all of the numeric
 > tower for which they have a natural interpretation.
 > 
 > Admittedly, this is not the world's most important bug, but it is a bug
 > nontheless.

how about autoload?  it seems to work for scheme code.  if there is a C
API, it could work for bignum extensions, too.

thi

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