need clarification with ! (not) function

Test for NaN separately