Pell's equation: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 686: | Line 686: | ||
var .neg, .s = ZLS, toString .x |
var .neg, .s = ZLS, toString .x |
||
if .s[1] == '-' { |
if .s[1] == '-' { |
||
.s = rest .s |
.neg, .s = "-", rest .s |
||
.neg = "-" |
|||
} |
} |
||
.neg ~ join ",", split -3, .s |
.neg ~ join ",", split -3, .s |