On Fri, 17 Feb 2006 17:04:40 -0500, "Dan Muller" s8ctxw402@sneakemail.com wrote:
Although as you pointed out, you can run into trouble when both single and double floats are wanted by the same method.
Once could do something like this (although it's not pretty)
(defun single (float) (let ((*coerce-double-floats-to-single* t)) (box float)))
(invoke object method-name float1 (single float2))
where the first argument is supposed to be a System.Double and the second one a System.Single.