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:
@@ -482,7 +482,7 @@
|
||||
(let ([n ($ratnum-n num)] [d ($ratnum-d num)])
|
||||
(if (> n 0)
|
||||
(pos n d)
|
||||
(- (pos n d)))))
|
||||
(- (pos (- n) d)))))
|
||||
|
||||
|
||||
(define binary+
|
||||
|
||||
@@ -1 +1 @@
|
||||
1408
|
||||
1409
|
||||
|
||||
Reference in New Issue
Block a user