An extension of the standard modulus which takes an interval as the modulus, rather than a divisor.
It shifts a real-valued x into the half-open real interval [a..b) by adding a multiple of
the length b - a.
An extension of the standard modulus which takes an interval as the modulus, rather than a divisor.
It shifts a real-valued x into the half-open real interval [a..b) by adding a multiple of
the length b - a.