| License | MIT |
|---|---|
| Maintainer | Joe Leslie-Hurd <joe@gilith.com> |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell98 |
Arithmetic.Prime
Description
Documentation
factorTwos :: Natural -> (Int, Natural) Source
millerRabinWitness :: Natural -> Natural -> Bool Source
previousPrime :: Natural -> Random -> Natural Source
randomPrime :: Int -> Random -> Natural Source