On 8689 day of my life Raymond Toy wrote:
>> CMU CL has non-standard operations like kernel:32bit-logical-xor.
>> What about creating functions for 32-bit or fixnum arithmetics?  I
>> would even try to participate :)
>
> You should be able to use the standard Lisp functions for these, I 
> think.  For example,
>
> (defun foo (x y) (declare (fixnum x y)) (logxor x y))

...

> I think that's what you want.
>
> Ray

Arithmetic operations are + - * / and mod (or rem). :)

OK, i see the difference: logxor of two fixnums is fixnum, and you can
do optimizations in frames of standard; but it doesn't hold for
arithmetics.  That's is why I ask create distinct (non-standard)
functions.

-- 
Ivan Boldyrev

                       Perl is a language where 2 x 2 is not equal to 4.


Reply via email to