Balanced ternary: Difference between revisions
Content added Content deleted
Alextretyak (talk | contribs) m (→{{header|11l}}) |
m (Minor corrections.) |
||
Line 3,877: | Line 3,877: | ||
=={{header|Nim}}== |
=={{header|Nim}}== |
||
<syntaxhighlight lang="nim">import strformat |
<syntaxhighlight lang="nim">import std/[strformat, tables] |
||
import tables |
|||
type |
type |
||
Line 3,968: | Line 3,967: | ||
func `*`*(a, b: BTernary): BTernary = |
func `*`*(a, b: BTernary): BTernary = |
||
## Multiply |
## Multiply two BTernary numbers. |
||
var start: BTernary |
var start: BTernary |