[UPDATE] add isinf.