develooper Front page | perl.perl5.porters | Postings from January 2013

[perl #24160] BUG REPORT: INTEGER MATH OCCURRING WHEN NOT EXPECTED

Thread Previous | Thread Next
From:
bulk88 via RT
Date:
January 15, 2013 04:36
Subject:
[perl #24160] BUG REPORT: INTEGER MATH OCCURRING WHEN NOT EXPECTED
Message ID:
rt-3.6.HEAD-4370-1358224594-815.24160-15-0@perl.org
On Mon Jan 14 16:51:38 2013, jkeenan wrote:
> 
> No correspondence since last October.  Any ideas?
> 
> Thank you very much.
> Jim Keenan

Someone writing a test case would be nice.

Some random ideas on what could be causing it

-IV/UV math instead of 100% NV math in older Perls
-stringification behavior during the creation of that log10 constant,
rounding, and precision might be different, maybe perl decided
1.0000000000000000000001 is equal to 1 or something
-a bug that prevents a NV path from being taken when an NV is seen and
the other UV/IV path is always taken even if the NOK and not IOK
-a bug where IOK has higher priority than NOK
-C compiler FPU defaults (OS/Compiler flags specific)
-clib sprintf change (OS/Compiler flags specific)


-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=24160

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About