Add integral overload for isNaN for use in generic code
Merge pull request #2311 from ibuclaw/intnan

Add integral overload for isNaN for use in generic code