Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Math With Big Numbers

by Cristoforo (Curate)
on Feb 14, 2019 at 20:42 UTC ( #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
Node Status?
node history
Node Type: note [id://1229918]
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: (11)
As of 2020-09-22 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (129 votes). Check out past polls.

    Notices?