Fixed part of bug 162334. Reason: (inexact -1/2) lost the sign and
returned 0.5. It now correctly return -0.5.
This commit is contained in:
parent
f6ee3618ba
commit
5210f1448b
|
@ -482,7 +482,7 @@
|
||||||
(let ([n ($ratnum-n num)] [d ($ratnum-d num)])
|
(let ([n ($ratnum-n num)] [d ($ratnum-d num)])
|
||||||
(if (> n 0)
|
(if (> n 0)
|
||||||
(pos n d)
|
(pos n d)
|
||||||
(- (pos n d)))))
|
(- (pos (- n) d)))))
|
||||||
|
|
||||||
|
|
||||||
(define binary+
|
(define binary+
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1408
|
1409
|
||||||
|
|
Loading…
Reference in New Issue