Skip to content

Function compiletime::mulsign

function mulsign(T, T) math

template <typename T>
constexpr inline T mulsign(T x, T y) { … }

Compile-time multiplication by sign of a second value.

Template parameters
T Value type.
Parameters
x Magnitude source.
y Sign source.
Returns
x * sign(y) .

Fully qualified name: kfr::compiletime::mulsign(T, T)

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