added inf, neginf, nan and isnanorinf