Implemented missing IsInf and IsNan functions. Thanks to Henk for reporting!