cpp/numeric/bit floor

If is not zero, calculates the largest integral power of two that is not greater than. If is zero, returns zero.

.

Return value
Zero if is zero; otherwise, the largest integral power of two that is not greater than.