Talk:Zeckendorf arithmetic: Difference between revisions

No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 5:
I get 10100 + 1010 = 101000, aka 11 + 7 = 18 which contradicts the Perl 6 output of 10100 +z 1010 = 100101 # addition.
 
My output matches the first test of the tcl entry, which obviously also disagrees with the Perl output.
In turn the next line is 100101 -z 100 = 100010 # subtraction, which I read as 17-3 = 15. [[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 22:32, 21 August 2018 (UTC)
 
In turn the next line is 100101 -z 100 = 100010 # subtraction, which I read as 17-3 = 15. [[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 22:32, 21 August 2018 (UTC)
 
Obviously, you can refer to [[Zeckendorf_number_representation#Perl_6]] to confirm or dispute my findings.
 
[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 22:32, 21 August 2018 (UTC)
 
:Off-by-one issue fixed (affected: addition, subtraction, division) and warning removed. --[[User:SqrtNegInf|SqrtNegInf]] ([[User talk:SqrtNegInf|talk]]) 14:45, 4 April 2019 (UTC)
2,392

edits