Less Or Equal R←X≤Y
Y
may be any numeric array. X
may be any numeric array. R
is Boolean. R
is 1 if X
is less than Y
or X=Y
. Otherwise R
is 0.
⎕CT
and ⎕DCT
are implicit arguments of Less Or Equal.
Examples
2 4 6 8 10 ≤ 6
1 1 1 0 0
⎕CT←1E¯10
1 1.00000000001 1.00000001 ≤ 1
1 1 0