Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
dd_impl.hpp File Reference
#include <cctype>
#include <cstdint>
#include <string>
#include <string_view>
#include <array>
#include <algorithm>
#include <ios>
#include <iosfwd>
#include <cstdio>
#include <limits>
#include <cmath>
#include <vector>
#include <bit>
#include <type_traits>
#include <universal/utility/bit_cast.hpp>
#include <universal/utility/decimal_to_binary.hpp>
#include <universal/native/ieee754_core.hpp>
#include <universal/native/manipulators_core.hpp>
#include <universal/numerics/error_free_ops.hpp>
#include <universal/numerics/range_limit_add.hpp>
#include <universal/number/shared/nan_encoding.hpp>
#include <universal/number/shared/infinite_encoding.hpp>
#include <universal/number/shared/specific_value_encoding.hpp>
#include <universal/number/dd/exceptions.hpp>
#include <universal/number/dd/dd_fwd.hpp>

Classes

class  sw::universal::dd

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

constexpr dd sw::universal::operator- (const dd &, const dd &)
constexpr dd sw::universal::operator* (const dd &, const dd &)
constexpr dd sw::universal::operator/ (const dd &, const dd &)
constexpr dd sw::universal::fma (dd const &, dd const &, dd const &)
std::ostream & sw::universal::operator<< (std::ostream &, const dd &)
bool sw::universal::signbit (const dd &)
dd sw::universal::pown (const dd &, int)
dd sw::universal::frexp (const dd &, int *)
dd sw::universal::ldexp (const dd &, int)
constexpr dd sw::universal::dd_third (0.33333333333333331, 1.8503717077085941e-17)
constexpr dd sw::universal::dd_max (1.79769313486231570815e+308, 9.97920154767359795037e+291)
constexpr dd sw::universal::dd_safe_max (1.7976931080746007281e+308, 9.97920154767359795037e+291)
dd sw::universal::ulp (const dd &a)
dd sw::universal::abs (dd)
dd sw::universal::ceil (const dd &a)
dd sw::universal::floor (const dd &a)
dd sw::universal::nint (const dd &a)
dd sw::universal::add (double a, double b)
dd sw::universal::sub (double a, double b)
dd sw::universal::mul (double a, double b)
dd sw::universal::div (double a, double b)
constexpr dd sw::universal::mul_pwr2 (const dd &a, double b)
constexpr void sw::universal::qd_add (double const a[4], const dd &b, double s[4])
constexpr void sw::universal::qd_mul (const dd &a, const dd &b, double p[4])
constexpr dd sw::universal::sqr (const dd &a)
constexpr dd sw::universal::reciprocal (const dd &a)
bool sw::universal::parse (const std::string &number, dd &v)
constexpr bool sw::universal::operator== (const dd &lhs, const dd &rhs)
constexpr bool sw::universal::operator!= (const dd &lhs, const dd &rhs)
constexpr bool sw::universal::operator< (const dd &lhs, const dd &rhs)
constexpr bool sw::universal::operator> (const dd &lhs, const dd &rhs)
constexpr bool sw::universal::operator<= (const dd &lhs, const dd &rhs)
constexpr bool sw::universal::operator>= (const dd &lhs, const dd &rhs)
constexpr bool sw::universal::operator== (const dd &lhs, double rhs)
constexpr bool sw::universal::operator!= (const dd &lhs, double rhs)
constexpr bool sw::universal::operator< (const dd &lhs, double rhs)
constexpr bool sw::universal::operator> (const dd &lhs, double rhs)
constexpr bool sw::universal::operator<= (const dd &lhs, double rhs)
constexpr bool sw::universal::operator>= (const dd &lhs, double rhs)
constexpr bool sw::universal::operator== (double lhs, const dd &rhs)
constexpr bool sw::universal::operator!= (double lhs, const dd &rhs)
constexpr bool sw::universal::operator< (double lhs, const dd &rhs)
constexpr bool sw::universal::operator> (double lhs, const dd &rhs)
constexpr bool sw::universal::operator<= (double lhs, const dd &rhs)
constexpr bool sw::universal::operator>= (double lhs, const dd &rhs)
constexpr dd sw::universal::operator+ (const dd &lhs, const dd &rhs)
constexpr dd sw::universal::operator+ (const dd &lhs, double rhs)
constexpr dd sw::universal::operator- (const dd &lhs, double rhs)
constexpr dd sw::universal::operator* (const dd &lhs, double rhs)
constexpr dd sw::universal::operator/ (const dd &lhs, double rhs)
constexpr dd sw::universal::operator+ (double lhs, const dd &rhs)
constexpr dd sw::universal::operator- (double lhs, const dd &rhs)
constexpr dd sw::universal::operator* (double lhs, const dd &rhs)
constexpr dd sw::universal::operator/ (double lhs, const dd &rhs)

Variables

constexpr int sw::universal::dd_max_precision = 106
constexpr double sw::universal::dd_eps = 4.93038065763132e-32
constexpr double sw::universal::dd_min_normalized = 2.0041683600089728e-292