Problems? Is your data what you think it is? | |
PerlMonks |
Re: Simple primality testingby ambrus (Abbot) |
on Oct 20, 2007 at 19:18 UTC ( [id://646206]=note: print w/replies, xml ) | Need Help?? |
I used Inline::C for a 64-bit integer calculation that couldn't easily be done on a perl compiled with 32-bit integers (the precision of doubles wouldn't be enough). Obviously, Math::BigInt or its fast backend Math::BigInt::GMP would work here. However, salva just mentioned his module Math::Int64 which I think would fit here exactly.
In Section
Meditations
|
|