add InFinity or -Infinity  judge