mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 03:18:37 +01:00
Clarify range a bit more.
This commit is contained in:
parent
007c8b5799
commit
e5fa76c8ed
|
|
@ -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 inclusive 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…
Reference in a new issue