elm-arithmetic
elm-arithmetic copied to clipboard
Elm library for integer arithmetic and number theory
Arithmetic: Elm library for integer arithmetic and number theory
(View the docs here.)
Implements some useful functions involving:
- Parity and modular arithmetic
- Base conversion
- Squares and cubes
- Divisors, GCD, LCM
- The Chinese Remainder Theorem
- Prime sieves and prime checking (Miller–Rabin)
Released under the BSD3 license.