generated/668

sha256 997d786e196850b5dc464a8a13980474fbf9517406ebad019b3f980be35506db

Document

%TAG !e! tag:yaml.org,2002:
---
!e!float -4.0e+340 # c1

Corpus

grammarvalid, vouched for up to construct
representation/float-out-of-rangeopen from construct on: each parser's stance decides
featuresbreak/cr node/tag-handle presentation/comment-inline presentation/document-marker presentation/plain presentation/tag-directive value/big-float
meaning (yaml-1.2-core)-4e+340

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

-40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

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 `-4.0e+340` as a !!float
go-yaml accepted accept ok same

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