does not define isinf if its already defined