OM//

[GENERIC-FUNCTION]


OM 6.1
Function Reference
ARGUMENTS:
  - n number or list [default = 1]
  - divisor number or list [default = 1]

Description:

Euclidean division of <n> and <divisor>.
Yields an integer result and the rest of the division.
When the divisor is 1, the operation is known as 'floor'.

<n> and <divisor> can be numbers or lists.

Ex. (om// 5.5 2) => 2 , 1.5
Ex. (om// 5.5 1) => 5 , 0.5
Ex. (om// '(5.5 6) 2) => (2 3) , (1.5 0)
Ex. (om// 5.5 '(2 3)) => (2 1) , (1.5 2.5)
Ex. (om// '(5.5 6) '(2 3)) => (2 2) , (1.5 0)