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] |
> > Guile can logically and anything up to the range of a signed long on > > the target platform. IMO, it should use unsigned long instead as a > > stopgap; ultimately, the logical boolean functions should be extended > > to handle bignums, again IMO. I suspect Jim would accept a patch to > > that effect. I would really like such a feature myself (scwm goes > > through some gyrations to do bit-twiddling on 32-bit unsigned > > quantities) and would code a patch if I had time. > > Ouch that breaks the bitflag-based sysinterned constants in my wrapped curses > modules (highlighting attributes etc. are encoded as 32-bitmasks in ncurses). Actually, you should be able to use -2147483648 as the value for the top bit, but scm_num2long has a bug, in that it doesn't handle that one value.