Fix MSVC8 compilation error: INFINITY constant does not exist.

IEEE754-compliant math will do the right thing here without extra checks.