From: elasota Date: Tue, 31 Oct 2023 05:17:23 +0000 (-0400) Subject: Clarify that the log2 of the largest possible symbol is the maximum number of bits... X-Git-Tag: v1.5.6^2~108^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38d87b476b804d7948928d298c784deb875a93c;p=thirdparty%2Fzstd.git Clarify that the log2 of the largest possible symbol is the maximum number of bits consumed --- diff --git a/doc/zstd_compression_format.md b/doc/zstd_compression_format.md index cd7308de1..7b29ccec6 100644 --- a/doc/zstd_compression_format.md +++ b/doc/zstd_compression_format.md @@ -1083,7 +1083,7 @@ It depends on : Presuming an `Accuracy_Log` of 8, and presuming 100 probabilities points have already been distributed, the decoder may read any value from `0` to `256 - 100 + 1 == 157` (inclusive). - Therefore, it must read `log2sup(157) == 8` bits. + Therefore, it may read up to `log2sup(157) == 8` bits. - Value decoded : small values use 1 less bit : __example__ :