generated/2322

sha256 f0d7a6a400095e8912fbe08baa8f9ab686269897cc3b98226554bf1c6be4dc23

Document

---
&a2
# c1
- &a1 -1.0e+333
# c2
- 49511157149003803750364251

Corpus

grammarvalid, vouched for up to construct
representation/float-out-of-rangeopen from construct on: each parser's stance decides
representation/integer-wideopen from construct on: each parser's stance decides
featuresbreak/crlf node/anchor presentation/comment-above presentation/document-marker presentation/plain value/big-float value/big-int value/sequence
meaning (yaml-1.2-core)[-1e+333,49511157149003803750364251]

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

[-1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,49511157149003803750364251]

libfyaml

["-1.0e+333","49511157149003803750364251"]

yaml.v3

["-1.0e+333",49511157149003800000000000]

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: wide-integer-as-text: the Python binding returns an integer past 64 bits as a string: -803850883125972097111 comes back as "-803850883125972097111"
yamlstar rejected, explained refuse by the loader rejected, explained n/i integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal
value: integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal
Error: YAML integer out of supported range: 49511157149003803750364251. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string.
yaml.v3 accepted accept different, explained same value: wide-integer-as-float64: an integer past uint64 decodes into a float64, which keeps about 17 significant digits: -803850883125972097111 comes back as -803850883125972000000
go-yaml accepted accept ok same

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