generated/1215

sha256 3f76bff3e38314e902f6b25ab1c4e49c8c458f8767af46e6905d43139fad45b1

Document

%YAML 1.1
---
-2.0e-877 # c1

Corpus

grammarvalid, vouched for up to construct
representation/float-out-of-rangeopen from construct on: each parser's stance decides
featurespresentation/comment-inline presentation/document-marker presentation/plain presentation/yaml-directive value/big-float
meaning (yaml-1.2-core)-2e-877

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

-0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002

libfyaml

"-2.0e-877"

yaml.v3 yamlstar

0

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: float-past-double-as-text: the Python binding returns a float past a double's range as a string, "-9.948e-328"
yamlstar accepted accept different, explained n/i value: float-past-double: floats are doubles: one too small comes back as 0, and one too large as Infinity, which JSON cannot write, so the runner holds no value for it
yaml.v3 accepted accept different, explained different
document 0

written

-0

read back

0
value: float-past-float64: a float too small for a float64 decodes as 0, and one too large is left a string, because yaml.v3 does not resolve it to a float: 9.999e+442 comes back as "9.999e+442"
go-yaml accepted accept ok same

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.