Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
minmax.hpp File Reference
#include <cmath>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::min (const takum< nbits, rbits, bt > &x, const takum< nbits, rbits, bt > &y)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::max (const takum< nbits, rbits, bt > &x, const takum< nbits, rbits, bt > &y)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::min (const takum_log< nbits, rbits, bt > &x, const takum_log< nbits, rbits, bt > &y)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::max (const takum_log< nbits, rbits, bt > &x, const takum_log< nbits, rbits, bt > &y)