Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: My numbers are rounded down...

by Dog and Pony (Priest)
on Jun 08, 2002 at 14:36 UTC ( #172781=note: print w/ replies, xml ) Need Help??


in reply to My numbers are rounded down...

Looking at the docs of Math::BigInt, this should do it:

perl -MMath::BigInt=:constant -e "print 123**17"
Which is the same thing as:
use Math::BigInt ':constant'; print 123**17;
Hope that helps. :)
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.


Comment on Re: My numbers are rounded down...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-07-08 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls