29 Sep
2008
29 Sep
'08
4:02 p.m.
Hi, Peter Grobarcik schrieb:
1) it is OK to use '==' and '!=' operators with expressions.
right.
2) be careful with < <= > >= since they are for internal usage and do not give you the comparison of the value of the expression.
Well, yes and no. They are also for external use if you need to sort your expressions (for example when putting them in a STL::set). But if you want to compare the value of an expression then you have to make sure the expression is a number (evalf is your friend). Regards, Jens