Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: unpacking unsigned long longs

by ikegami (Patriarch)
on Jul 07, 2009 at 17:44 UTC ( [id://777956]=note: print w/replies, xml ) Need Help??


in reply to Re^4: unpacking unsigned long longs
in thread unpacking unsigned long longs

Did you really mean 2^45 (47) or 2**45 (35184372088832).

A double-precision floating point number can handle numbers much bigger than 2**45. And with 53 bits of precision, it can represent 2**45 faithfully.

If so, how can I go about fixing this?

See the "64 bit support" section in the perl distribution's INSTALL file for how to build such a perl.

Or like I said already, tell me which cell of my table you want, and I'll provide some code to do the same thing on a 32-bit build of Perl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found