Skip to main content
Module

std/encoding/testdata/float.toml

Deno standard library
Go to Latest
File
[float]# fractionalflt1 = +1.0 # Commentflt2 = 3.1415 # Commentflt3 = -0.01 # Comment
# exponentflt4 = 5e+22 # Commentflt5 = 1e6 # Commentflt6 = -2E-2 # Comment
# bothflt7 = 6.626e-34 # Commentflt8 = 224_617.445_991_228 # Comment# infinitysf1 = inf # positive infinitysf2 = +inf # positive infinitysf3 = -inf # negative infinity
# not a numbersf4 = nan # actual sNaN/qNaN encoding is implementation specificsf5 = +nan # same as `nan`sf6 = -nan # valid, actual encoding is implementation specific