GCC has the __builtin_clzll builtin function that according to https://www.geeksforgeeks.org/builtin-functions-gcc-compiler/:
__builtin_clz(x): This function is used to count the leading zeros of the integer. Note : clz = count leading zero’s
I think LLVM also has these functions, and Rust is compiled with LLVM. Is there a way to use this function in Rust?