mirror of
https://github.com/ziglang/zig.git
synced 2026-01-22 07:15:25 +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.