aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 17:13:02 +0000
committertv <tv@krebsco.de>2026-11-16 18:28:36 +0100
commit6ae894885cb97e1d64e8236a2ca1d877001263bd (patch)
tree8ff16dff3347b0bd366754ebcc19550e67496555
parent991e01e140a021a57ae78422709b3ad9e5e6d7dc (diff)
federation: numbers are integers anywhere in an event, not in values only
Integers were asked of values alone. A proposal holding `1.5` or `1e21` is good JCS, so to judge it a builder needed all of ECMAScript's number printing, for this alone, and one reading integers only took it for no event. Numbers anywhere in an event are integers from −2⁵³ to 2⁵³, and strings anywhere are whole Unicode characters: floats, and the hardest part of JCS with them, go.
-rw-r--r--docs/federation.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/federation.md b/docs/federation.md
index 85d9db8..ac81c4d 100644
--- a/docs/federation.md
+++ b/docs/federation.md
@@ -141,8 +141,8 @@ another event of what a party signed. Of an event, federation 1 allows:
* up to 256 KiB, with up to 64 dependencies;
* a key set of up to 16 keys, and a node list of up to 64 nodes;
* in a write, a path of up to 32 segments, each of up to 255 bytes;
-* in values, numbers that are integers from −2⁵³ to 2⁵³, and strings of whole Unicode
- characters, no surrogate alone.
+* anywhere in it, numbers that are integers from −2⁵³ to 2⁵³, and strings of whole
+ Unicode characters, no surrogate alone.
It names no swarm, no version and no ID of its own: its history says the first two. An
event signed in a federation, or in a fork once it forked, has that store's root in its