Pell's equation: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Langurmonkey (talk | contribs) m (→{{header|langur}}: replace deprecated ZLS token with "") |
||
Line 1,044: | Line 1,044: | ||
val .C = f(.x) { |
val .C = f(.x) { |
||
# format number string with commas |
# format number string with commas |
||
var .neg, .s = |
var .neg, .s = "", toString .x |
||
if .s[1] == '-' { |
if .s[1] == '-' { |
||
.neg, .s = "-", rest .s |
.neg, .s = "-", rest .s |