Min: Difference between revisions
m
Adapt "Can I avoid using IF for X = Y statements?" article from old wiki
-u ndefined- (talk | contribs) m (Add information about nan) |
-u ndefined- (talk | contribs) m (Adapt "Can I avoid using IF for X = Y statements?" article from old wiki) |
||
Line 14: | Line 14: | ||
== Notes == | == Notes == | ||
If one of the inputs are ''nan'', the other value will be outputted regardless. | If one of the inputs are ''nan'', the other value will be outputted regardless. This can be used in conjunction with [[Divide]], to create an equality test without ever using an [[If]]: | ||
{{Image|Equal numbers no if.png}} | |||
== Related == | == Related == |