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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename FloatingPointType>
requires std::is_floating_point_v<FloatingPointType>
faithful< FloatingPointType > sw::universal::sqrt (const faithful< FloatingPointType > &a)