Fixed FormatException when nan/-nan is parsed.
Merge pull request #8 from medo64/master

Fixed FormatException when nan/-nan is parsed.