/modulo

A true modulus function. Swift's `%` function computes remainder, not modulus. The two operations differ when presented negative inputs. This package provides an implementation of true modulus.

Primary LanguageSwiftApache License 2.0Apache-2.0

LoftNumerics_Modulo

An implementation of a true modulo function. Swift's % function computes remainder, not modulo. The two operations differ when presented negative inputs.