Added support for Infinity and -Infinity