Added a rule for valid float promotion when dividing.
original commit: 8ec6d7ff3f835f88be73c07dddcf9e2dd6388e79
This commit is contained in:
parent
fc1a0a9e05
commit
98738ea50a
|
@ -115,6 +115,8 @@
|
|||
(append (list (->* (list -Integer) -Integer -ExactRational))
|
||||
(for/list ([t (list -ExactRational -Flonum)])
|
||||
(->* (list t) t t))
|
||||
;; only exact 0 as first argument can cause the result of a division involving inexacts to be exact
|
||||
(list (->* (list -Flonum) -Real -Flonum))
|
||||
(list (->* (list -Real) -Real -Real))
|
||||
(list (->* (list N) N N))))]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user