This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Library for integer arithmetic: primes, bases, divisors, gcd...
version 2.0.3
license BSD3
native-modules False
elm-version 0.17.0 <= v < 0.19.0
Tag 2.0.3
Committed At 2016-12-06 14:46:23 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1



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.