Clarify the range of valid values.

pull/2540/head
Patrick Cloke 4 years ago committed by GitHub
parent 0b6301ac80
commit 007c8b5799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@ this: JSON compliance.
The [Canonical JSON](https://matrix.org/docs/spec/appendices#canonical-json)
specification requires that numbers that are serialized in JSON are integers in
the range of [-2 ^ 53 + 1, 2 ^ 53 - 1], which matches the requirements of
the inclusive range of `[-2 ^ 53 + 1, 2 ^ 53 - 1]`, which matches the requirements of
[section 6 of RFC 7159](https://tools.ietf.org/html/rfc7159). Note that it is
not explicit, but all floats are invalid.

Loading…
Cancel
Save