rpc: State the integer round-trip range limits

As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1078#note_2889617
This commit is contained in:
Ian Jackson 2023-04-03 17:58:06 +01:00
parent 22b1c89344
commit b25cb1479c
1 changed files with 5 additions and 1 deletions

View File

@ -207,7 +207,11 @@ id
This may be a number or a string. It is required.
(Floating point numbers and
integers that can't be precisely represented as an IEEE-754 double
are not guaranteed to round trip accurately.)
are not guaranteed to round trip accurately.
Integers whose absolute value is no greater than
`2^53-1 = 9007199254740991`,
will round trip accurately.
64-bit integers might not.)
obj
: An Object Identifier for the Object that will receive this request.