Avoid double coercion.

This commit is contained in:
Vincent St-Amour 2015-11-12 16:01:21 -06:00
parent b88b4a8829
commit fb3dee24db

View File

@ -83,7 +83,7 @@
(loop (mark-as-non-float new-o)
(stx-cdr cs)))
;; we've hit floats, can start coercing
(n-ary->binary this-syntax unsafe (cons #`(real->double-flonum #,o) cs)))))
(n-ary->binary this-syntax unsafe (cons #`(real->double-flonum #,(or o-nf o)) cs)))))
;; a+bi / c+di, names for real and imag parts of result -> one let-values binding clause
(define (unbox-one-complex-/ a b c d res-real res-imag)