From c2d8f79e6191ab507c9e6daa631283b87e9c93d2 Mon Sep 17 00:00:00 2001 From: Nathan Giddings Date: Sat, 7 Jan 2023 23:21:36 -0600 Subject: [PATCH] Fixed spelling error in 64-bit llog2() code --- src/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math.c b/src/math.c index 5275c83..60f1c49 100644 --- a/src/math.c +++ b/src/math.c @@ -32,7 +32,7 @@ int llog2(unsigned long x) #elif (defined __GNUC__) && (__SIZEOF_LONG__ == 8) if(x <= 1) return 0; - return 64 - __buildin_clzl(x - 1); + return 64 - __builtin_clzl(x - 1); #elif __SIZEOF_LONG__ == 8 static const int table[64] = { 0, 58, 1, 59, 47, 53, 2, 60, 39, 48, 27, 54, 33, 42, 3, 61,