How to use double-float?
I am struggling a little trying to figure out how to tell Lisp that I want to use double-float values. Suppose I have: (let ((x 1)) (format t "~A~%" (/ x 3.0))) Which gives: 0.33333334 If I want to use double-float, I tried this: (let ((x 1)) (declare (type double-float x)) (format t "~A~%" (/ x 3.0))) 0.33333334 So the result is not a double-float. I can, however, force double-float like this: (let ((x 1)) (format t "~A~%" (/ x 3.0d0))) 0.3333333333333333d0 And now I get a double-float result. So my question is: if I'm defining a form or function in which I want arithmetic to be in double