Zeckendorf arithmetic: Difference between revisions
Content added Content deleted
m (→{{header|Quackery}}: typo) |
|||
Line 3,240: | Line 3,240: | ||
Unsigned (non-negative) Zeckendorf arithmetic. |
Unsigned (non-negative) Zeckendorf arithmetic. |
||
Implements the required functions; addition, subtraction, multiplication and division, the optional decrement, increment and comparative functions, and additionally double and |
Implements the required functions; addition, subtraction, multiplication and division, the optional decrement, increment and comparative functions, and additionally double and modulus, since they come for free with addition and division respectively. |
||
The algorithms are of my own devising, without reference to the description in the task or existing research, so are potentially novel, but probably not. |
The algorithms are of my own devising, without reference to the description in the task or existing research, so are potentially novel, but probably not. |