You can make your own primitives fairly easily.  

(defmacro f+(n1 n2)`(the fixnum (+ (the fixnum ,n1)
(the fixnum ,n2))))

Now you can use (f+ 1 2) 

I just typed that into the e-mail.  Not sure it's
correct.  You could do better by using &rest and using
a separate macro to allow you to create other signed
version quickly.  I or others can help here.  

In ordinary mode, this will give an error if one of
the results is not a fixnum; with ((speed 3)(safety
0)) it will result in a rollover of some kind.  That
may or may not be what you're looking for, but it may
be a great way to perhaps prove your code to be
correct before your speed-critical runs.

dave

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

Reply via email to