diff options
Diffstat (limited to 'tests/data/extras/valid/burntsushi-repo/float-inf-and-nan.toml')
-rw-r--r-- | tests/data/extras/valid/burntsushi-repo/float-inf-and-nan.toml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/data/extras/valid/burntsushi-repo/float-inf-and-nan.toml b/tests/data/extras/valid/burntsushi-repo/float-inf-and-nan.toml new file mode 100644 index 0000000..c8f8459 --- /dev/null +++ b/tests/data/extras/valid/burntsushi-repo/float-inf-and-nan.toml @@ -0,0 +1,8 @@ +# We don't encode +nan and -nan back with the signs; many languages don't +# support a sign on NaN (it doesn't really make much sense). +nan = nan +nan_neg = -nan +nan_plus = +nan +infinity = inf +infinity_neg = -inf +infinity_plus = +inf |