generated/1426

sha256 4f18faffb1c96fb43e876b291559c49c5b15e72bc18e5f3d067ff2a5e66b9504

Document

%YAML 1.1
---
2.0e+332 # 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+332

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

libfyaml yaml.v3

"2.0e+332"

yamlstar



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 same 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.