Pell's equation: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
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 = ZLS, toString .x
var .neg, .s = "", toString .x
if .s[1] == '-' {
if .s[1] == '-' {
.neg, .s = "-", rest .s
.neg, .s = "-", rest .s