how to determine the Lispworks number of bits (32 or 64)?
I have just installed Lispworks (64-bits) and we want to compare performance of the two platforms. I have coded the following to be platform independent and robust. Is there a better way to do this (determine the size in bits of the runtime)?
(defun fixnum-bits ()
(let ((bits (floor (log most-positive-fixnum 2))))
(if (< bits 32)
32
(if (< bits 64)
64
128))))
Sent from Mail for Windows 10