Add IsInfinity/IsPositiveInfinity/IsNegativeInfinity to Double/Single

Here's the infinity changes for issue 356.

Note that for IsInfinity() I went for `Math.abs(x) === Number.POSITIVE_INFINITY` to avoid multiple uses of x and the need for a temporary.