Feature #11578
closed
- Subject changed from add a method to check if a number is probably prime or composite to Add a method to check if a number is probably prime or composite (Patch included)
- Assignee set to chaitanyav (NagaChaitanya Vellanki)
- Assignee changed from chaitanyav (NagaChaitanya Vellanki) to matz (Yukihiro Matsumoto)
- Status changed from Open to Rejected
Yui NARUSE wrote:
Use OpenSSL::BN.
Rehearsal ---------------------------------------------------------------
Probably prime 11.990000 0.060000 12.050000 ( 12.054223)
OpenSSL::BN.prime_fasttest? 0.020000 0.000000 0.020000 ( 0.024519)
----------------------------------------------------- total: 12.070000sec
user system total real
Probably prime 12.090000 0.050000 12.140000 ( 12.147566)
OpenSSL::BN.prime_fasttest? 0.020000 0.000000 0.020000 ( 0.021217)
Thanks for closing.
NagaChaitanya Vellanki wrote:
Yui NARUSE wrote:
Use OpenSSL::BN.
Rehearsal ---------------------------------------------------------------
Probably prime 11.990000 0.060000 12.050000 ( 12.054223)
OpenSSL::BN.prime_fasttest? 0.020000 0.000000 0.020000 ( 0.024519)
----------------------------------------------------- total: 12.070000sec
user system total real
Probably prime 12.090000 0.050000 12.140000 ( 12.147566)
OpenSSL::BN.prime_fasttest? 0.020000 0.000000 0.020000 ( 0.021217)
Thanks for closing.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0