generated/2198

sha256 a95cd46edbd3f3b436afb95dc6eca0ff288cd6c38a653c5058afc5d2fb5908d5

Document

!<tag:yaml.org,2002:float> 1.9e+331	# c1

Corpus

grammarvalid, vouched for up to construct
representation/float-out-of-rangeopen from construct on: each parser's stance decides
featuresbreak/crlf node/tag-verbatim presentation/comment-inline presentation/plain presentation/tab-separation value/big-float
meaning (yaml-1.2-core)1.9e+331

Answer groups

verdict split

go-yaml perlref yamlstar

accept

libfyaml

accept, then the loader refuses past parse

yaml.v3

refuse by the loader

value split

go-yaml

19000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

yamlstar



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader unscored n/i value: the loader rejects the document past parse, where the verdict is given ValueError: Failed to parse YAML/JSON
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 rejected, explained refuse by the loader rejected, explained refused float-past-float64-tagged: a float past a float64's range does not resolve to a float, so a !!float tag on it rejects the document: !!float 2.8e+332
value: float-past-float64-tagged: a float past a float64's range does not resolve to a float, so a !!float tag on it rejects the document: !!float 2.8e+332
yaml.v3: yaml: cannot decode !!str `1.9e+331` as a !!float
go-yaml accepted accept ok same

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