Vocabulary
math

Inputs
xa rational
ya rational


Outputs
za rational


Word description
Computes the remainder of dividing x by y, with the remainder always positive or zero.
Given fixnums, always yields a fixnum.
Given bignums, always yields a bignum.
Given rationals, always yields a rational.


See also
Division by zero, mod

Definition