Hi,
I posted about this on GitHub but haven't gotten much of a response. Right
now there are two seemingly mathematically equivalent notions of positive
and negative infinity on the real line:
-The singleton sympy.core.numbers.Infinity, also known as "oo"
-Float("inf"), also known as "+inf"
When trying to compare one of these to the other, we get inconsistent
results, e.g.
-oo < -inf
will be left unevaluated but
-inf > -oo
returns False.
I guess both of these should be False. However, we also have
oo == x is False, but
x == oo is True.
Which of these is correct? Both of them?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/5a42cfb7-d5a5-475e-98b5-f760b896017b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.