summaryrefslogtreecommitdiff
path: root/lib/count-leading-zeros.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-09-14 00:35:56 +0200
committerBruno Haible <bruno@clisp.org>2017-09-14 00:35:56 +0200
commit03eac9d394567d707a74826dfc9c305555946597 (patch)
treedf5743f58e2f39dd8ad3b30da118b3afad285c9e /lib/count-leading-zeros.h
parentb7773f3f796588544f36b45be274f42b36b42149 (diff)
downloadgnulib-03eac9d394567d707a74826dfc9c305555946597.tar.gz
all: Replace many more http URLs by https URLs. Update stale URLs.
* users.txt: Remove mention of 'newts'. * lib/localename.c: Update comment about LANG_SOTHO.
Diffstat (limited to 'lib/count-leading-zeros.h')
-rw-r--r--lib/count-leading-zeros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/count-leading-zeros.h b/lib/count-leading-zeros.h
index 1b60e28e7f..c8b3dc0511 100644
--- a/lib/count-leading-zeros.h
+++ b/lib/count-leading-zeros.h
@@ -70,7 +70,8 @@ _GL_INLINE_HEADER_BEGIN
COUNT_LEADING_ZEROS_INLINE int
count_leading_zeros_32 (unsigned int x)
{
- /* http://graphics.stanford.edu/~seander/bithacks.html */
+ /* <https://github.com/gibsjose/BitHacks>
+ <http://www.fit.vutbr.cz/~ibarina/pub/bithacks.pdf> */
static const char de_Bruijn_lookup[32] = {
31, 22, 30, 21, 18, 10, 29, 2, 20, 17, 15, 13, 9, 6, 28, 1,
23, 19, 11, 3, 16, 14, 7, 24, 12, 4, 8, 25, 5, 26, 27, 0