Elex.Functions.Rem (Elex v0.2.1)

View Source

Returns the remainder of a divided by b (sign follows the dividend).

For floored modulo where the sign follows the divisor, use mod/2.

Expression syntax

rem(10, 3)