diff options
author | 2018-12-01 12:14:51 +0100 | |
---|---|---|
committer | 2018-12-01 13:57:01 +0100 | |
commit | 30c40c96a8b75f78d1a1aa51e4f3e0c31bfb0118 (patch) | |
tree | 6390bccf4526de7bd930fa44730abaa07a312970 /glep-0075.rst | |
parent | glep-0028: Change Status to Active. (diff) | |
download | glep-30c40c96a8b75f78d1a1aa51e4f3e0c31bfb0118.tar.gz glep-30c40c96a8b75f78d1a1aa51e4f3e0c31bfb0118.tar.bz2 glep-30c40c96a8b75f78d1a1aa51e4f3e0c31bfb0118.zip |
glep-0075: Clarify conversion into hexadecimal notation.
Bug: https://bugs.gentoo.org/666678
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'glep-0075.rst')
-rw-r--r-- | glep-0075.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/glep-0075.rst b/glep-0075.rst index 38d57e2..19ce10e 100644 --- a/glep-0075.rst +++ b/glep-0075.rst @@ -7,7 +7,7 @@ Type: Standards Track Status: Draft Version: 1 Created: 2018-01-26 -Last-Modified: 2018-01-27 +Last-Modified: 2018-12-01 Post-History: 2018-01-27 Content-Type: text/x-rst --- @@ -114,13 +114,13 @@ The exact algorithm for determining the distfile location follows: 3. For each integer **C** in cutoff list: - a. Take **C** most significant bits of **H** and store them as **V**. + a. Remove the **C** most significant bits from **H** and store them + as **V**. - b. Convert **V** into hexadecimal integer, left padded with zeros - to **C/4** digits (rounded up) and append it to the path, followed - by the path separator. - - c. Shift **H** left **C** bits. + b. Convert **V** into hexadecimal notation (digits ``0`` to ``9`` + and lowercase letters ``a`` to ``f``), left padded with zeros + to **C/4** digits (rounded up), and append it to the path, + followed by the path separator. 4. Finally, append **F** to the obtained path. |