Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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.


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 having an uproarious good time at the Monastery: (10)
As of 2014-12-26 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls