Function lbcrypto::GetMSB64

Function Documentation

inline constexpr usint lbcrypto::GetMSB64(uint64_t x)

Get MSB of an unsigned 64 bit integer.

Parameters

x – the input to find MSB of.

Returns

the index of the MSB bit location.