Add integral overload for isNaN for use in generic code

Raised by EMSI, in some of their templated code they pass T to isNaN, which sometimes was a uint.
You are testing isIntegral here. I'd cut it down to testing just one integer.