Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
hypot.hpp File Reference
#include <algorithm>
#include <bit>
#include <cstddef>
#include <cstdint>
#include <universal/number/efloat/math/exponent.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::efloat_detail
 decimal formatting (binary -> decimal string at arbitrary precision)

Functions

template<unsigned nlimbs>
constexpr void sw::universal::efloat_detail::hypot_limbs (efloat< nlimbs > &result, const efloat< nlimbs > &x, const efloat< nlimbs > &y, unsigned precision)
template<unsigned nlimbs>
constexpr efloat< nlimbs > sw::universal::hypot (const efloat< nlimbs > &x, const efloat< nlimbs > &y)