Support for NaN, Infinity, and -Infinity.
Merge pull request #22 from wpk-/master

Support for NaN, Infinity, and -Infinity.