Fix MSVC8 compilation error: INFINITY constant does not exist.

IEEE754-compliant math will do the right thing here without extra checks.
Merge pull request #24 from zeux/master

Fix MSVC8 compilation error: INFINITY constant does not exist