Aaron Meurer
Aaron Meurer
Does infinitesimal actually have any practical uses, or at least could it?
Right. A implies B doesn't mean that !A implies !B. I think infinitesimal.is_bounded should just return None. And it also seems to me that infinitesimal.is_bounded should return True.
Aaron Meurer
An infinitesimal is unboundedly small, indistinguishable from 0, so eps**-2 would give infinity.
limit(log(x), x, oo) should be positive like oo (and it is) but
as x_.-oo it seems to me that the answer should be zoo not oo:
h[4] >>> log(-oo)
oo
h[4] >>> limit(log(x), x, -oo)
oo
That should be log(oo) + I*pi
>
> Does infinitesimal actually have any practical uses, or at least
> could it?
I'm not sure. I just discovered it while working on the power _is_bounded method.
/c
# For limits of complex functions, the algorithm would have to be
# improved, or just find limits of Re and Im components separately.
so this is a known deficiency.
/c
I was just trying to rationalize why it might be like it is.
I agree that it seems that it should be considered bounded.
Having is_finite=True is perhaps more descriptive; in that case
both it and Zero share a False attribute.
/c
Sorry, I meant (not infinitesimal).is_bounded should return None.
Aaron Meurer
>
> Vinzent
Aaron Meurer
See the truth table I posted below. is_finite is used (perhaps erroneously) to tell about infinitesimals.
/c