RosettaCodeData/Task/Zeckendorf-arithmetic/Tcl/zeckendorf-arithmetic-2.tcl
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

5 lines
209 B
Tcl

puts [zeckendorf add "10100" "1010"]
puts [zeckendorf sub "10100" "1010"]
puts [zeckendorf mul "10100" "1010"]
puts [zeckendorf div "10100" "1010"]
puts [zeckendorf div [zeckendorf mul "10100" "1010"] "1010"]