summaryrefslogtreecommitdiff
path: root/tests/mandel_local.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-07-11 15:43:18 +0100
committerubq323 <ubq323@ubq323.website>2024-07-11 15:43:18 +0100
commitd9d307bc676387ab8894f9fb1ee722db8ecf7272 (patch)
tree135a8ca920a16c7f46cb6cf6b65d6e982163671e /tests/mandel_local.bth
parentd8d3770f88d6acc37620d6577fa5a0b026fb1231 (diff)
set -> set!
Diffstat (limited to 'tests/mandel_local.bth')
-rw-r--r--tests/mandel_local.bth16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/mandel_local.bth b/tests/mandel_local.bth
index 2cfa814..5b7fb9b 100644
--- a/tests/mandel_local.bth
+++ b/tests/mandel_local.bth
@@ -11,13 +11,13 @@
nzre 0
nzim 0)
(while (< i 25)
- (set nzre (+ cre (- (* zre zre) (* zim zim))))
- (set nzim (+ cim (* 2 (* zre zim))))
- (set zre nzre)
- (set zim nzim)
- (set mag (+ (* zre zre) (* zim zim)))
- (set i (if (< mag 4) (+ i 1) 999)))
+ (set! nzre (+ cre (- (* zre zre) (* zim zim))))
+ (set! nzim (+ cim (* 2 (* zre zim))))
+ (set! zre nzre)
+ (set! zim nzim)
+ (set! mag (+ (* zre zre) (* zim zim)))
+ (set! i (if (< mag 4) (+ i 1) 999)))
(write (if (< mag 4) "#" "."))
- (set pxx (+ pxx 1)))))
+ (set! pxx (+ pxx 1)))))
(say "")
- (set pxy (+ pxy 1))))
+ (set! pxy (+ pxy 1))))