Balanced ternary: Difference between revisions

Line 3,366:
=={{header|МК-61/52}}==
{{trans|Glagol}}
<lang mk-61>П0 ЗН П2 Вx |x| П0 0 П3 П4 1 П5
ИП0 /-/ x<0 7880
ИП0 ^ ^ 3 / [x] П0 3 * - П1
ИП3 x#0 5254
ИП1 x=0 3638 1ИП2 ПП 8688 0 П3 БП 0810
ИП1 1 - x=0 4749 1ИП2 /-/ ПП 8688 БП 0810
0 ПП 8688 БП 0810
ИП1 x=0 6062 0 ПП 8688 БП 0810
ИП1 1 - x=0 7072 1ИП2 ПП 8688 БП 0810
1 ИП2 /-/ ПП 8688 1 П3 БП 0810
ИП3 x#0 8486 1ИП2 ПП 8688 ИП4 С/П
8 + ИП5 * ИП4 + П4 ИП5 1 0 * П5
ИП2 x<0 91 <-> /-/ <-> 8 +
ИП5 * ИП4 + П4 ИП5 1 0 * П5 В/О</lang>
 
''Note: the "-", "0", "+" denotes by digits, respectively, the "7", "8", "9" (or "9", "8", "7" if number is negative).''
 
=={{header|OCaml}}==