Implement isinf intrinsic