7#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MATH_LOG2_HPP_
8#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MATH_LOG2_HPP_
18#include "arene/base/stdlib_choice/cstddef.hpp"
35 while (value >= two) {
#define ARENE_PRECONDITION(condition)
Check that a precondition holds, and terminate the application if it does not.
Definition contract.hpp:150
Definition accumulate.hpp:37
constexpr auto log2(std::size_t value) noexcept -> std::size_t
Computes the integer base-2 log of a value.
Definition log2.hpp:30
Definition accumulate.hpp:36
::size_t size_t
A type suitable for holding the size of an object.
Definition cstddef.hpp:29