Min: Difference between revisions

141 bytes added ,  3 July 2024
m
Adapt "Can I avoid using IF for X = Y statements?" article from old wiki
m (Add information about nan)
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 ==