Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
sw::universal::HyperMean Struct Reference

Hyper mean: bridges bracketing and refinement. More...

#include <generators.hpp>

Public Member Functions

template<typename R>
R operator() (const R &a, const R &b) const

Detailed Description

Hyper mean: bridges bracketing and refinement.

Uses arithmetic mean within a binade, geometric mean across binades. Used by Posits, Elias codes, and URR.

Member Function Documentation

◆ operator()()

template<typename R>
R sw::universal::HyperMean::operator() ( const R & a,
const R & b ) const
inline

The documentation for this struct was generated from the following file:
  • /home/runner/work/universal/universal/include/sw/universal/number/bisection/generators.hpp