Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974384]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-05-28 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?