mod
mod(
@x ## required
@y ## required
) -> llll/null
Returns @x modulo @y, unsigned
Arguments
@x[int/float/llll] Numeric llll.(required)@y[int/float/llll] Numeric llll.(required)
Output
@x modulo @y [llll/null]
warning
mod is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, mod will return null without raising an error if required arguments are not provided.
Usage
mod(-6.6 -3.3 3.3 6.6, 1) ## 0.4 0.7 0.3 0.6