Skip to content

Commit

Permalink
Merge pull request #61 from atgreen/develop
Browse files Browse the repository at this point in the history
Fix typo resulting in bogus float stringification
  • Loading branch information
Zulu-Inuoe authored Mar 26, 2024
2 parents 8171bd8 + 498116d commit c81fd0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schubfach.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
(setf pos (- pos 2))
(when (< q0 100)
(return))

(let* ((q1 (%int32 (%>>64 (%int64 (* q0 1374389535)) 37)))
(d (aref ds (- q0 (* q1 100)))))
(setf (char buf (+ pos 0)) (code-char (ldb (byte 7 0) d)))
Expand Down Expand Up @@ -348,7 +348,7 @@
(setf (char buf (+ pos 1)) #\-)
(incf pos)
(when (< e10 0)
(setf e10 (- 10))
(setf e10 (- e10))
(incf pos))
(cond
((< e10 10)
Expand Down

0 comments on commit c81fd0a

Please sign in to comment.