Skip to content

Function compiletime::abs

function abs(T) math

template <typename T>
constexpr inline T abs(T x) { … }

Compile-time absolute value.

Template parameters
T Value type.
Parameters
x Input value.
Returns
Magnitude of x.

Fully qualified name: kfr::compiletime::abs(T)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.