Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Math With Big Numbers

by Cristoforo (Curate)
on Feb 14, 2019 at 20:42 UTC ( [id://1229918]=note: print w/replies, xml ) Need Help??


in reply to Math With Big Numbers

While I can't comment on why you are not getting accurate results, when I use bignum, I get the exact number.

C:\Old_Data\perlp>perl -Mbignum -e "print 6**25" 28430288029929701376

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found