CLI interface + restructuration + precision fixes Fermat Factorization
This commit is contained in:
@@ -20,10 +20,16 @@ library
|
||||
import: warnings
|
||||
exposed-modules:
|
||||
Primes
|
||||
Factorization
|
||||
ModularSquareRoot
|
||||
ModularArithmeticUtils
|
||||
other-modules:
|
||||
Primes.FermatPrimeTest
|
||||
Primes.MillerRabin
|
||||
Primes.SolovayStrassen
|
||||
ModularArithmeticUtils
|
||||
Factorization.FermatFactorization
|
||||
Factorization.PollardPminus1
|
||||
ModularSquareRoot.TonelliShanks
|
||||
build-depends:
|
||||
base ^>=4.18.2.1,
|
||||
random ^>=1.2
|
||||
@@ -33,6 +39,9 @@ library
|
||||
executable haskell-math
|
||||
import: warnings
|
||||
main-is: Main.hs
|
||||
other-modules:
|
||||
FactorizationUI
|
||||
Utils
|
||||
build-depends:
|
||||
base ^>=4.18.2.1,
|
||||
haskell-math
|
||||
|
||||
Reference in New Issue
Block a user