Balanced ternary: Difference between revisions

m
added whitespace to the task's preamble.
m (→‎{{header|REXX}}: added/changed comments and whitespace, used a template for the OUTPUTs, optimized a function.)
m (added whitespace to the task's preamble.)
Line 14:
* write out ''a'', ''b'' and ''c'' in decimal notation;
* calculate ''a'' × (''b'' − ''c''), write out the result in both ternary and decimal notations.
 
 
'''Note:''' The pages [[generalised floating point addition]] and [[generalised floating point multiplication]] have code implementing [[wp:arbitrary precision|arbitrary precision]] [[wp:floating point|floating point]] balanced ternary.
<br><br>
 
=={{header|ALGOL 68}}==