lynn/elm-arithmetic/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Arithmetic: Elm library for integer arithmetic and number theory

Implements some useful functions involving:

  • Parity and modular arithmetic
  • Base conversion
  • Squares and cubes
  • Divisors, GCD, LCM
  • Prime sieves and prime checking (Miller-Rabin)

Released under the BSD3 license.