On Fri, Nov 10, 2000 at 11:47:02AM -0800, Gisle Aas wrote:
> Nathan Torkington <[EMAIL PROTECTED]> writes:
> > Daniel Chetlin writes:
> > > PV->NV causes that to happen, PV->IV does not. You see it in Perl
> > > because addition uses NVs. It works fine if you change your
> > > example code to use SvNV, giving 48.
> > 
> > Wow, that is weird.  Thanks.  Do you know why this is different for
> > IV vs NV conversion?
> 
> It is a bug.  Look at the thread that starts with:
> 
>    http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-08/msg00645.html

Note also that it is fixed in 5.7.0 and I would guess will be in 5.6.1
as well. Xray unfortunately didn't handle the threading very well for
this thread (for a change :-( ), but here's the URL to the patch:

http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-08/msg00658.html

-dlc

Reply via email to