Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: supporting quads on 32 bit Perl (0.23)

by salva (Abbot)
on Jun 04, 2012 at 21:42 UTC ( #974384=note: print w/ replies, xml ) Need Help??

in reply to Re: supporting quads on 32 bit Perl (0.23)
in thread supporting quads on 32 bit Perl

The thing is I can't see any different between the two by looking at them using sprintf or pack 'd'.

That's because sprintf and pack first convert the uint64 into an NV implicitly.

On the other hand, is converts its operands into strings and compares them. The NV is represented in scientific notation and the uint64 in decimal and so they differ.

Comment on Re^2: supporting quads on 32 bit Perl (0.23)
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974384]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2015-11-28 10:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (741 votes), past polls