Fractran: Difference between revisions
m
→{{header|Phix}}: ie
Alextretyak (talk | contribs) (Added 11l) |
m (→{{header|Phix}}: ie) |
||
Line 2,698:
Notice that 2, being a power of 2, has zero in all slots other than 2.<br>
We can say that 15 is not exactly divisible by 2 because the power of 2 is too large, i.e, comparing {1,0,0} with {0,1,1} there is a 1>0 in the 2 slot.<br>
Division (to whole integer) is performed simply by subtracting the corresponding powers.
|