Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by salva (Monsignor)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (16)
As of 2014-10-23 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (128 votes), past polls