Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Question on simple arithmetic using perl

by eyepopslikeamosquito (Chancellor)
on Sep 29, 2011 at 10:58 UTC ( #928519=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Math::BigInt;
    my $x = Math::BigInt->new('123456789012345678901234567890');
    ...
    $y += 1;
    print "x=$x\n";
    print "y=$y\n";
    
  2. or download this
    x=123456789012345678901234567891
    y=1.23456789012346e+029
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928519]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2016-12-04 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (64 votes). Check out past polls.