Next: smooth, Previous: smap, Up: Internal Routines [Contents][Index]
x smod y
Binary signed modulus operator. x smod y
yields
the signed remainder of the division of x
by
y
, i.e., the smallest (in absolute terms) remainder. If
y = 3*x - 1
then y smod x = -1
and y mod x = x -
1
.
See also: mod