I have found out about __builtin_ctzll
to count trailing zeros of a 64bit int really fast through the post Intrinsic to count trailing zero bits in 64-bit integers?.
I'm a beginner to C++ and don't know how to include this function.
I tried to use #include
, but that didn't make any sense. I found out that this "builtin" comes from GNU, but I didn't know what to do with that information. How can I prepare the right library/extension for my project?