in reply to Detect if a scalar is NaN

This is a FAQ