1 |
commit: 30c40c96a8b75f78d1a1aa51e4f3e0c31bfb0118 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 11:14:51 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 12:57:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/data/glep.git/commit/?id=30c40c96 |
7 |
|
8 |
glep-0075: Clarify conversion into hexadecimal notation. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/666678 |
11 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
12 |
|
13 |
glep-0075.rst | 14 +++++++------- |
14 |
1 file changed, 7 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/glep-0075.rst b/glep-0075.rst |
17 |
index 38d57e2..19ce10e 100644 |
18 |
--- a/glep-0075.rst |
19 |
+++ b/glep-0075.rst |
20 |
@@ -7,7 +7,7 @@ Type: Standards Track |
21 |
Status: Draft |
22 |
Version: 1 |
23 |
Created: 2018-01-26 |
24 |
-Last-Modified: 2018-01-27 |
25 |
+Last-Modified: 2018-12-01 |
26 |
Post-History: 2018-01-27 |
27 |
Content-Type: text/x-rst |
28 |
--- |
29 |
@@ -114,13 +114,13 @@ The exact algorithm for determining the distfile location follows: |
30 |
|
31 |
3. For each integer **C** in cutoff list: |
32 |
|
33 |
- a. Take **C** most significant bits of **H** and store them as **V**. |
34 |
+ a. Remove the **C** most significant bits from **H** and store them |
35 |
+ as **V**. |
36 |
|
37 |
- b. Convert **V** into hexadecimal integer, left padded with zeros |
38 |
- to **C/4** digits (rounded up) and append it to the path, followed |
39 |
- by the path separator. |
40 |
- |
41 |
- c. Shift **H** left **C** bits. |
42 |
+ b. Convert **V** into hexadecimal notation (digits ``0`` to ``9`` |
43 |
+ and lowercase letters ``a`` to ``f``), left padded with zeros |
44 |
+ to **C/4** digits (rounded up), and append it to the path, |
45 |
+ followed by the path separator. |
46 |
|
47 |
4. Finally, append **F** to the obtained path. |