com.phasmidsoftware.number.core.inner.Modulo.given_Modulo_Int
Attributes
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
Compare two values. Returns negative if x < y, zero if x == y, positive if x > y.
Compare two values. Returns negative if x < y, zero if x == y, positive if x > y.
Attributes
Compute the modulo of x with respect to m. The result should always be in the range [0, m) for positive m.
Compute the modulo of x with respect to m. The result should always be in the range [0, m) for positive m.
Value parameters
- m
-
the modulus
- x
-
the value to normalize
Attributes
- Returns
-
x mod m
The zero value for this numeric type.
The zero value for this numeric type.
Attributes