...

Text file src/github.com/BurntSushi/toml/internal/toml-test/tests/valid/spec/float-2.toml

Documentation: github.com/BurntSushi/toml/internal/toml-test/tests/valid/spec

     1# infinity
     2sf1 = inf  # positive infinity
     3sf2 = +inf # positive infinity
     4sf3 = -inf # negative infinity
     5
     6# not a number
     7sf4 = nan  # actual sNaN/qNaN encoding is implementation-specific
     8sf5 = +nan # same as `nan`
     9sf6 = -nan # valid, actual encoding is implementation-specific

View as plain text