Skip to content

Commit

Permalink
Use quaviver write-digits
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzchak committed Oct 4, 2024
1 parent a972d7a commit 1169397
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/float.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,7 @@
:fractional-marker #\.
:fractional-position 1)
(write-exponent-marker value stream)
(print-integer client (1- exponent) 10 nil stream)))))))))
(decf exponent)
(when (minusp exponent)
(write-char #\- stream))
(quaviver:write-digits 10 (abs exponent) stream)))))))))

0 comments on commit 1169397

Please sign in to comment.