[rdnzl-devel] New version 0.7.1/0.4.1 (Was: boxing floats)
Edi Weitz
edi at agharta.de
Mon Nov 21 13:59:04 UTC 2005
Hi!
On Sun, 20 Nov 2005 18:51:57 -0600, "Andrew K. Wolven" <awolven at yahoo.com> wrote:
> RDNZL always boxes single-floats as System.Double instead of
> System.Single (in ACL at least). In the case of constructors or
> other methods that take System.Single instead of System.Double you
> have to cast them after you box them or the method won't work, which
> is a pain in the butt. I would fix it myself (I think it's in
> RDNZL.dll) but I have an older version of MSVC++.
>
> CL-USER(875): (box 1.0d0)
> #<RDNZL::CONTAINER System.Double #x1f46548>
> CL-USER(876): (box 1.0)
> #<RDNZL::CONTAINER System.Double #x1f465c8>
> CL-USER(877): (box 1.0f0)
> #<RDNZL::CONTAINER System.Double #x1f465f8>
Thanks for catching that - it was in fact an omission in the C++ code.
I've uploaded new versions (0.7.1 for RDNZL itself and 0.4.1 for the
C++ code) which have a fix.
> Thanks for all your work. Every time I think RDNZL doesn't do that,
> I [usually] experiment enough and find out I'm wrong. Maybe that's
> the case here. :)
So, you're actually using it? My impression was nobody uses RDNZL in
earnest.
Thanks again,
Edi.
More information about the rdnzl-devel
mailing list