tuweni / org.apache.tuweni.units.bigints / UInt384Value / 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 384 if the value is equal to zero.