SP4CEBAR 2023-05-12 17:28 (Edited)
print NAN = NAN
returns 0 which is false, making NAN hardly detectableprint INF = INF
returns -1 which is true, making inf detectableif NAN then print "true" else print "false"
allows distinguishing zero (false) from NAN (true)