Skip to content

Commit

Permalink
liebler: unquote accidentally quoted vars in conditions
Browse files Browse the repository at this point in the history
* code/liebler/implementation.lisp (%liebler): Unquote SIGNIFICAND,
EXPONENT, SIGN in overflow and underflow calls.
  • Loading branch information
paulapatience committed Jul 11, 2024
1 parent 5ba66fa commit 9a518b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/liebler/implementation.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
(when (> q ,(+ max-exponent
(quaviver.math:ceiling-log-expt 2 10 1)))
(quaviver::integer-float-overflow
,client ',result-type 10 significand exponent sign))
,client ',result-type 10 ,significand ,exponent ,sign))
(when (< q ,(- min-exponent
(quaviver.math:ceiling-log-expt 2 10 1)))
(quaviver::integer-float-underflow
,client ',result-type 10 significand exponent sign))
,client ',result-type 10 ,significand ,exponent ,sign))
(setf ,significand (quaviver.math:round-to-odd
,arithmetic-size
(ash ,significand shift)
Expand Down

0 comments on commit 9a518b7

Please sign in to comment.