Skip to content

Commit

Permalink
quaviver: add missing argument in SIGNIFICAND-WORD
Browse files Browse the repository at this point in the history
* code/interface.lisp (significand-word): Add missing TYPE argument to
SIGNIFICAND-SIZE call.
  • Loading branch information
paulapatience committed Jul 11, 2024
1 parent b4a5a32 commit 8882cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/interface.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
(defgeneric arithmetic-size (type))

(deftype significand-word (type &optional (extra 0))
`(unsigned-byte ,(+ (significand-size) extra)))
`(unsigned-byte ,(+ (significand-size type) extra)))

(deftype exponent-word (type &optional (extra 0))
`(integer ,(- (min-exponent type) extra) ,(+ (max-exponent type) extra)))

0 comments on commit 8882cf5

Please sign in to comment.