Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
lns_addsub_algorithms.hpp File Reference
#include <array>
#include <cstddef>
#include <limits>
#include <math/constexpr_math.hpp>
#include <universal/number/lns/lns_fwd.hpp>
#include <universal/number/lns/lns_correct_rounding.hpp>

Classes

struct  sw::universal::DoubleTripAddSub< Lns >
struct  sw::universal::DirectEvaluationAddSub< Lns >
struct  sw::universal::LookupAddSub< Lns, IndexBits >
struct  sw::universal::PolynomialAddSub< Lns >
struct  sw::universal::ArnoldBaileyAddSub< Lns >
struct  sw::universal::CORDICAddSub< Lns, MaxIterations >
struct  sw::universal::ArnoldCotransformationAddSub< Lns, IndexBits, SplitJ >
struct  sw::universal::lns_addsub_traits< Lns >
struct  sw::universal::lns_addsub_log_error_bound< Alg >
struct  sw::universal::lns_addsub_log_error_bound< DoubleTripAddSub< Lns > >
struct  sw::universal::lns_addsub_log_error_bound< DirectEvaluationAddSub< Lns > >
struct  sw::universal::lns_addsub_log_error_bound< LookupAddSub< Lns, IndexBits > >
struct  sw::universal::lns_addsub_log_error_bound< PolynomialAddSub< Lns > >
struct  sw::universal::lns_addsub_log_error_bound< ArnoldBaileyAddSub< Lns > >
struct  sw::universal::lns_addsub_log_error_bound< CORDICAddSub< Lns, MaxIterations > >
struct  sw::universal::lns_addsub_log_error_bound< ArnoldCotransformationAddSub< Lns, IndexBits, SplitJ > >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::detail

Typedefs

template<typename Lns>
using sw::universal::lns_addsub_algorithm_t = typename lns_addsub_traits<Lns>::type

Functions

template<typename Policy>
constexpr double sw::universal::detail::gauss_log_add (double a, double b)
constexpr unsigned sw::universal::detail::cotransformation_default_split_j (unsigned f)
template<typename LnsType>
constexpr bool sw::universal::lns_eq_within_alg_tolerance (const LnsType &c, const LnsType &cref)

Variables

template<typename Alg>
constexpr double sw::universal::lns_addsub_log_error_bound_v = lns_addsub_log_error_bound<Alg>::value