Continued fraction/Arithmetic/G(matrix ng, continued fraction n): Difference between revisions
Continued fraction/Arithmetic/G(matrix ng, continued fraction n) (view source)
Revision as of 02:36, 26 February 2023
, 1 year ago→{{header|ObjectIcon}}
Line 4,854:
return (if sep = 0 then "" else if sep = 1 then ";" else ",")
end
public to_string (max_terms)
# I do string concatenation in a funny way here, for no especially
# good reason. :)
local lst, sep, i, done, term
|