tuweni / org.apache.tuweni.units.bigints / UInt64Value / numberOfLeadingZeros

numberOfLeadingZeros

open fun numberOfLeadingZeros(): Int (source)

Returns the number of zero bits preceding the highest-order ("leftmost") one-bit

Return
Int: the number of zero bits preceding the highest-order ("leftmost") one-bit in the binary representation of this value, or 64 if the value is equal to zero.