Non-decimal radices/Convert: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: added comments, added whitespace, changed some comments, added support for a leading sign. -- ~~~~)
(+)
Line 908: Line 908:


26</pre>
26</pre>



=={{header|Matlab / Octave}}==
=={{header|Matlab / Octave}}==
Line 919: Line 918:


26</pre>
26</pre>

=={{header|МК-61/52}}==
<pre>
П8 -> 1 0 П0 ПП 13 ИП7 П0 ИП8
ПП 13 С/П П7 -> П6 -> 1 П4 П5
Сx <-> ^ ПП 68 П3 - ИП7 * П2
ПП 68 ИП4 ИП6 * П4 / + ИП2 ИП1
- x#0 45 L0 27 -> ИП3 ^ ИП7 /
ПП 68 ИП7 * - ИП5 * + ИП5 ИП6
* П5 -> ИП1 x=0 47 -> В/О 1 +
П1 КИП1 -> -> ИП1 В/О
</pre>

Input: ''N<sub>m</sub> ^ m ^ n В/О С/П''.

Output: ''N<sub>n</sub> -> PX''.


=={{header|OCaml}}==
=={{header|OCaml}}==