diff --git a/docs/reference/protocol-spec.md b/docs/reference/protocol-spec.md index ccc052ebf6..da77c98d55 100644 --- a/docs/reference/protocol-spec.md +++ b/docs/reference/protocol-spec.md @@ -351,8 +351,7 @@ RESP booleans are encoded as follows: ### Doubles -The Double RESP type encodes a double-precision floating point value. - +The Double RESP type encodes a double-precision floating point valu Doubles are encoded as follows: ,\r\n @@ -365,11 +364,20 @@ Here's the encoding of the number 1.23: ,1.23\r\n -The floating point number must start with a digit, even if it is zero (0). -Exponential notation is not supported. +A floating point number may be made up of up to three parts: + + [.[