Ivan Boldyrev wrote:
> 
> Arithmetic operations are + - * / and mod (or rem). :)
> 

These already exist, in some form, for 32-bit unsigned numbers.  See 
code/bignum.lisp.  You'll find:

+       %add-with-carry
-       %subtract-with-borrow
*       %multiply
/, mod  %floor

Perhaps not exactly what you want, but it might be close enough.  If 
not, you'll have to write your own.

And if it's really important, teaching the compiler about it in the same 
way as the unsigned-byte-32 operations would be very good.

Ray


Reply via email to