diff options
| author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-20 00:36:55 +0000 |
|---|---|---|
| committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-20 00:36:55 +0000 |
| commit | 68354c350a278a565bc3b2b3ba793b8a9dcd2712 (patch) | |
| tree | 7a35a520c4c6ca5a6661357d6a3668b8769d7e59 /test/ruby | |
| parent | 825a1e939bd85e19d5a3de0411aa1fa6f23e0e99 (diff) | |
lib/prime: Fix primality of some large integers [#13492].
* lib/prime.rb: Use accurate sqrt to insure all factors are tested.
Patch by Marcus Stollsteimer.
* test/test_prime.rb: Adapt test for timeout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
