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