Next: smooth, Previous: smap, Up: Internal Routines [Contents][Index]

`x smod y`

Binary signed modulus operator.

yields
the signed remainder of the division of `x` smod `y`

by
`x`

, i.e., the smallest (in absolute terms) remainder. If
`y``y = 3*x - 1`

then `y smod x = -1`

and ```
y mod x = x -
1
```

.

See also: `mod`