Antkeeper  0.0.1
Namespaces | Functions
compile.hpp File Reference
#include <concepts>

Go to the source code of this file.

Namespaces

 math
 Mathematical functions and data types.
 
 math::compile
 Compile-time mathematical functions.
 

Functions

template<std::unsigned_integral T>
consteval T math::compile::ceil_log2 (T x) noexcept
 Compile-time ceil(log2(x)) for unsigned integrals. More...
 
template<std::unsigned_integral T>
consteval T math::compile::exp2 (T x) noexcept
 Compile-time exp2 for unsigned integrals. More...
 
template<std::unsigned_integral T>
consteval T math::compile::pow (T x, T e) noexcept
 Compile-time pow for unsigned integrals. More...