Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Adding really big numbers

by salva (Abbot)
on Feb 23, 2013 at 09:33 UTC ( #1020291=note: print w/ replies, xml ) Need Help??

in reply to Adding really big numbers

If you need to do that application wide, you can compile a custom perl that uses long doubles to represent floating point numbers.

x86 long doubles have 80 bits and a resolution of 18 digits. Other architectures as SPARC use 128 bits for long doubles.

Otherwise, you can use Math::LongDouble or Math::MPFR

Comment on Re: Adding really big numbers

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2015-11-30 16:48 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls