Continued fraction/Arithmetic/G(matrix ng, continued fraction n): Difference between revisions
Content added Content deleted
Line 4,854: | Line 4,854: | ||
return (if sep = 0 then "" else if sep = 1 then ";" else ",") |
return (if sep = 0 then "" else if sep = 1 then ";" else ",") |
||
end |
end |
||
public to_string (max_terms) |
public to_string (max_terms) |
||
# I do string concatenation in a funny way here, for no especially |
|||
# |
|||
# good reason. :) |
|||
# String concatenation operators seem to be broken, in the |
|||
# revision of Object Icon that (at the moment) I have installed. |
|||
# Therefore I have written this implementation instead of a more |
|||
# obvious one. |
|||
# |
|||
local lst, sep, i, done, term |
local lst, sep, i, done, term |