fixed div0-and-mod0 bug
This commit is contained in:
parent
4ee88498a9
commit
282fa962a8
|
@ -3278,7 +3278,7 @@
|
|||
(if (< m (/ y 2))
|
||||
(values d m)
|
||||
(values (+ d 1) (- m y)))
|
||||
(if (> m (/ y -2))
|
||||
(if (>= m (/ y -2))
|
||||
(values (- d 1) (+ m y))
|
||||
(values d m)))))
|
||||
|
||||
|
@ -3288,7 +3288,7 @@
|
|||
(if (< m (/ y 2))
|
||||
d
|
||||
(+ d 1))
|
||||
(if (> m (/ y -2))
|
||||
(if (>= m (/ y -2))
|
||||
(- d 1)
|
||||
d))))
|
||||
|
||||
|
@ -3298,7 +3298,7 @@
|
|||
(if (< m (/ y 2))
|
||||
m
|
||||
(- m y))
|
||||
(if (> m (/ y -2))
|
||||
(if (>= m (/ y -2))
|
||||
(+ m y)
|
||||
m))))
|
||||
)
|
||||
|
|
|
@ -1 +1 @@
|
|||
1556
|
||||
1557
|
||||
|
|
Loading…
Reference in New Issue