parent
0bad9d5d8c
commit
abfa49d7d9
|
@ -2762,7 +2762,7 @@
|
||||||
(/ (- (* b c) (* a d)) t))))
|
(/ (- (* b c) (* a d)) t))))
|
||||||
;; Let r = c/d or d/c, depending on which is larger
|
;; Let r = c/d or d/c, depending on which is larger
|
||||||
(cond
|
(cond
|
||||||
[(and ($exactnum? x) ($exactnum? y))
|
[(or (eq? c 0) (and ($exactnum? x) ($exactnum? y)))
|
||||||
(simpler-divide a b c d)]
|
(simpler-divide a b c d)]
|
||||||
[(< (abs c) (abs d))
|
[(< (abs c) (abs d))
|
||||||
(let ([r (/ d c)])
|
(let ([r (/ d c)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user