Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2979 by asmeu...@gmail.com: > and >= are changed into < and <=
http://code.google.com/p/sympy/issues/detail?id=2979
Greater than inequalities are converted into less than inequalities.
In [28]: x < y
Out[28]: x < y
In [29]: y > x
Out[29]: x < y
In [25]: type(y > x)
Out[25]: sympy.core.relational.StrictInequality
In [26]: type(x < y)
Out[26]: sympy.core.relational.StrictInequality
In [27]: (x < y) == (y > x)
Out[27]: True
This means that the printing is forced to print it as a less than, among
other things.
We should implement it so that the logic is not duplicated, but it still
keeps track of which side is which.
Also, what should be done about .lhs and .rhs?
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.