#: y is the binary representation of y ,
and is equivalent to (m#2)#:y , where m
is the maximum of the number of digits needed to represent the atoms
of y in base 2 . For example:
i. 8
0 1 2 3 4 5 6 7
#: i. 8
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
|
|
In simple cases r&#: is inverse to r&#. .
Thus:
r=: 24 60 60
r #: r #. 2 3 4
2 3 4
But if r #. y exceeds (*/r)-1 (the largest
integer representable in the radix r),
then the result of r#:y is reduced modulo */r .
For example:
r #: r #. 29 3 4
5 3 4
|