sha256 473a61d671f34746e9bf7716abd695279487240ad0eeae9f7d0b103a5ec17e64
--- - # c1 -702: &a1 7.059e+338 # c2
| grammar | valid, vouched for up to construct |
| representation/float-out-of-range | open from construct on: each parser's stance decides |
| features | break/crlf node/anchor presentation/comment-inline presentation/document-marker presentation/plain value/big-float value/mapping value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | [{"-702":7.059e+338}] |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
[{"-702":705900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000}]libfyaml yaml.v3
[{"-702":"7.059e+338"}]yamlstar
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| 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.