Function qt_core::q_next_power_of_two_i32
source · pub unsafe fn q_next_power_of_two_i32(v: i32) -> u32
Expand description
This is an overloaded function.
Calls C++ function: quint32 qNextPowerOfTwo(qint32 v)
.
This is an overloaded function.
This function returns the nearest power of two greater than value. For negative values it returns 0.
This function was introduced in Qt 5.4.