[rdnzl-devel] Re: New version 0.9.3

Edi Weitz edi at agharta.de
Fri Feb 17 22:25:16 UTC 2006


On Fri, 17 Feb 2006 17:04:40 -0500, "Dan Muller" <s8ctxw402 at 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.



More information about the rdnzl-devel mailing list