This is the mail archive of the guile@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]

logical operators



>Is there a reason the logical operators (logiand, logior, etc) will
>only work on numbers that will fit in a (signed) long?

The scm_logmumble routines call scm_num2long and scm_long2num to do
the necessary conversions.  They should probably just call
scm_num2ulong and scm_ulong2num instead.  Give it a try; if it works,
send in a patch and I'll apply it.