Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^8: solve cubic equations (Java)

by no_slogan (Deacon)
on May 05, 2017 at 16:03 UTC ( [id://1189584]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (1..10) {
       $s = ($s*0x5deece66d + 0xb) % 2**48;
       say(($s>>17)%1000);
    }
    
  2. or download this
              s/iter    BigInt BigIntGMP       GMP      Perl
    BigInt      25.0        --      -42%      -94%     -100%
    BigIntGMP   14.4       73%        --      -90%      -99%
    GMP         1.47     1605%      885%        --      -93%
    Perl       0.110    22701%    13070%     1238%        --
    
  3. or download this
    use strict;
    use warnings;
    ...
                          tryclass('Math::BigInt', \@nums) },
       Perl      => sub { tryperl(\@nums) },
    });
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2024-03-28 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found