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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2018-03-23 07:47 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (288 votes). Check out past polls.