mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-01 17:24:10 +01:00
infinity and NaN note
This commit is contained in:
parent
393714ce54
commit
65ccfc1dd7
|
|
@ -6,7 +6,7 @@ When the value is a float
|
||||||
* Second, the value is truncated at the decimal point: `51146.98` becomes `51146`.
|
* Second, the value is truncated at the decimal point: `51146.98` becomes `51146`.
|
||||||
|
|
||||||
Values outside the range represented by IEE754 binary64 (a "double") cause the
|
Values outside the range represented by IEE754 binary64 (a "double") cause the
|
||||||
powerlevel event to be rejected.
|
powerlevel event to be rejected, as does `Infinity` and `NaN`.
|
||||||
|
|
||||||
For example, this is a valid `m.room.power_levels` event in this room version:
|
For example, this is a valid `m.room.power_levels` event in this room version:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue