Support special floating point values: nan, inf.
tfiner opened this issue · comments
The special values (taken from the TOML github page), are not parsed correctly:
infinity
sf1 = inf # positive infinity
sf2 = +inf # positive infinity
sf3 = -inf # negative infinitynot a number
sf4 = nan # actual sNaN/qNaN encoding is implementation specific
sf5 = +nan # same asnan
sf6 = -nan # valid, actual encoding is implementation specific