Binary digits: Difference between revisions

Content added Content deleted
m (→‎{{header|RPL}}: input/output formatting)
Line 5,085: Line 5,085:
≪ BIN R→B →STR 3 OVER SIZE 1 - SUB ≫
≪ BIN R→B →STR 3 OVER SIZE 1 - SUB ≫
'→PLNB' STO
'→PLNB' STO
{{in}}

<pre>
42 →PLNB
5 →PLNB
50 →PLNB
9000 →PLNB
</pre>
{{out}}
{{out}}
<pre>
<pre>
3: "101"
"101010"
2: "110010"
1: "10001100101000"
</pre>
</pre>