write -INFINITY

sexc reads a dash before a name as negation now (sex#63).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-09 18:09:34 +03:00
parent 74200559b8
commit d2721b55f7
2 changed files with 2 additions and 4 deletions

View File

@@ -481,8 +481,7 @@
(var n int (. p config zones-in-region))
(var best-x int x)
(var best-z int z)
;; TODO sex#63: write -INFINITY once it reads as a negation.
(var best double (- INFINITY))
(var best double -INFINITY)
(var found bool false)
(for (var dx int -1) (<= dx 1) (++ dx)
(for (var dz int -1) (<= dz 1) (++ dz)