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

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

by syphilis (Bishop)
on Feb 12, 2011 at 04:10 UTC ( #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
Node Status?
node history
Node Type: note [id://887726]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-11-28 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?