|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <algorithm>#include <cerrno>#include <cmath>#include <limits>#include <type_traits>#include <universal/number/faithful/core.hpp>#include <universal/number/faithful/math/constants.hpp>#include <universal/number/faithful/math/functions/classify.hpp>#include <universal/number/faithful/math/functions/exponent.hpp>#include <universal/number/faithful/math/functions/sqrt.hpp>#include <universal/number/shared/multidouble_reduce_pio2.hpp>#include <universal/number/shared/multidouble_special_constants.hpp>Classes | |
| struct | sw::universal::faithful_detail::reduction_real< Real > |
Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
| namespace | sw::universal::faithful_detail |
| namespace | sw::universal::faithful_detail::constants |
Concepts | |
| concept | sw::universal::faithful_detail::trig_host |
Functions | |
| template<typename Real> | |
| int | sw::universal::faithful_detail::reduce_pio2 (const faithful< Real > &x, faithful< Real > &t) |
| template<typename Real> | |
| faithful< Real > | sw::universal::faithful_detail::sin_kernel (const faithful< Real > &t) |
| template<typename Real> | |
| faithful< Real > | sw::universal::faithful_detail::cos_kernel (const faithful< Real > &t) |
| template<typename Real> | |
| void | sw::universal::faithful_detail::sincos (const faithful< Real > &x, faithful< Real > &s, faithful< Real > &c) |
| template<typename Real> | |
| faithful< Real > | sw::universal::faithful_detail::domain_error (const char *function) |
| template<typename FloatingPointType> requires faithful_detail::trig_host<FloatingPointType> | |
| faithful< FloatingPointType > | sw::universal::sin (const faithful< FloatingPointType > &x) |
| template<typename FloatingPointType> requires faithful_detail::trig_host<FloatingPointType> | |
| faithful< FloatingPointType > | sw::universal::cos (const faithful< FloatingPointType > &x) |
| template<typename FloatingPointType> requires faithful_detail::trig_host<FloatingPointType> | |
| faithful< FloatingPointType > | sw::universal::tan (const faithful< FloatingPointType > &x) |
| template<typename FloatingPointType> requires faithful_detail::trig_host<FloatingPointType> | |
| faithful< FloatingPointType > | sw::universal::atan2 (const faithful< FloatingPointType > &y, const faithful< FloatingPointType > &x) |
| template<typename FloatingPointType> requires faithful_detail::trig_host<FloatingPointType> | |
| faithful< FloatingPointType > | sw::universal::atan (const faithful< FloatingPointType > &x) |
| template<typename FloatingPointType> requires faithful_detail::trig_host<FloatingPointType> | |
| faithful< FloatingPointType > | sw::universal::asin (const faithful< FloatingPointType > &x) |
| template<typename FloatingPointType> requires faithful_detail::trig_host<FloatingPointType> | |
| faithful< FloatingPointType > | sw::universal::acos (const faithful< FloatingPointType > &x) |
Variables | |
| constexpr double | sw::universal::faithful_detail::constants::pi_2 [4] |