[feature request] comparison operators?
Issue #725
duplicate
, <, <=, >=, ==, !=
they would be useful for many things, including creating functions like if()
//from ccalc
if(tf,a,b)=(tf!=0)*a+(tf==0)*b
it would be even smoother to have ternary operator like in c++
condition ? a : b
Comments (2)
-
-
- changed status to duplicate
Duplicate of #589.
- Log in to comment
We are planning to add them in #589. The ternary operator is the preferred form so far.