pub unsafe fn q_count_leading_zero_bits_ulong(v: c_ulong) -> c_uint
Expand description

Returns the number of consecutive zero bits in v, when searching from the MSB. For example, qCountLeadingZeroBits(quint32(1)) returns 31 and qCountLeadingZeroBits(quint32(8)) returns 28.

Calls C++ function: unsigned int qCountLeadingZeroBits(unsigned long v).

Warning: no exact match found in C++ documentation. Below is the C++ documentation for uint qCountLeadingZeroBits(quint32 v):

Returns the number of consecutive zero bits in v, when searching from the MSB. For example, qCountLeadingZeroBits(quint32(1)) returns 31 and qCountLeadingZeroBits(quint32(8)) returns 28.

This function was introduced in Qt 5.6.