mirror of
https://github.com/ziglang/zig.git
synced 2026-01-12 10:25:13 +00:00
This is consistent with `JSON.parse("-0")` in JavaScript, RFC 8259
doesn't specifically mention what to do in this case.
If a negative zero is encoded the intention is likely to preserve the
sign.