Closed cifkao closed 4 years ago
Should fix #5.
The problem is that eps + x == x if x is large enough, so eps + x - x == 0., and the slope will be infinite. So we first need to subtract and then add eps.
eps + x == x
x
eps + x - x == 0.
eps
good catch, thanks
Should fix #5.
The problem is that
eps + x == x
ifx
is large enough, soeps + x - x == 0.
, and the slope will be infinite. So we first need to subtract and then addeps
.