Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^12: Module for 128-bit integer math?

by syphilis (Archbishop)
on Feb 12, 2011 at 04:10 UTC ( [id://887726]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ppm install http://www.sisyphusion.tk/ppm/Math-GMPz.ppd
    ppm install http://www.sisyphusion.tk/ppm/Math-Int128.ppd
    
  2. or download this
    use warnings;
    use Math::Int128 qw(int128);
    ...
    
    die "Error 4:\n$ri\n$mpz_ret\n" if $ri != int128("$mpz_ret") 
     || $ri != int128('457611325781455127825205517363509632');
    
  3. or download this
    C:\_64\pscrpt>perl bench.pl
    Name "main::i_div" used only once: possible typo at bench.pl line 17.
    ...
    add_M::G2 883002/s      500%      142%        --
    
    C:\_64\pscrpt>
    
  4. or download this
                Rate    gmpz mul_128
    gmpz    900000/s      --     -3%
    mul_128 927835/s      3%      --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-19 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found