https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/ilogb-ilogbf-ilogbl2?view=msvc-170
ilogb, ilogbf, ilogbl2 | Microsoft Learn
API reference for ilogb, ilogbf, and ilogbl2; which retrieve an integer that represents the unbiased base-2 exponent of the specified value.
microsoftlearn