Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 556866 Details for
Bug 666678
GLEP 75: "hexadecimal integer" is ill-defined
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Clarify conversion into hexadecimal notation.
0001-glep-0075-Clarify-conversion-into-hexadecimal-notati.patch (text/plain; charset=utf-8), 1.40 KB, created by
Ulrich Müller
on 2018-12-01 11:19:26 UTC
(
hide
)
Description:
Clarify conversion into hexadecimal notation.
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2018-12-01 11:19:26 UTC
Size:
1.40 KB
patch
obsolete
>From dfd39f7b5518b392e875791592dc52d80f6c22ed Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org> >Date: Sat, 1 Dec 2018 12:14:51 +0100 >Subject: [PATCH 1/2] glep-0075: Clarify conversion into hexadecimal notation. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Bug: https://bugs.gentoo.org/666678 >Signed-off-by: Ulrich Müller <ulm@gentoo.org> >--- > glep-0075.rst | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/glep-0075.rst b/glep-0075.rst >index 38d57e2..8baa221 100644 >--- a/glep-0075.rst >+++ b/glep-0075.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. > >-- >2.19.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 666678
: 556866 |
556868