CLI interface + restructuration + precision fixes Fermat Factorization

This commit is contained in:
2026-01-11 17:58:36 +01:00
parent ada11a25d2
commit 6689ff8ae2
11 changed files with 117 additions and 50 deletions

View File

@@ -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