|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Geometric mean: f(a,b) = sqrt(a*b) Used by LNS and FP representations. More...
#include <generators.hpp>
Public Member Functions | |
| template<typename R> | |
| R | operator() (const R &a, const R &b) const |
Geometric mean: f(a,b) = sqrt(a*b) Used by LNS and FP representations.
Natural refinement for logarithmic encodings.
|
inline |