|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <type_traits>#include <universal/behavior/status_flags.hpp>#include <universal/number/efloat/math/exponent.hpp>#include <universal/number/efloat/math/logarithm.hpp>#include <universal/number/efloat/math/sqrt.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 efloat< nlimbs > | sw::universal::efloat_detail::sinh_working (const efloat< nlimbs > &x, unsigned target) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::efloat_detail::cosh_working (const efloat< nlimbs > &x, unsigned target) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::efloat_detail::tanh_working (const efloat< nlimbs > &x, unsigned target) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::efloat_detail::asinh_working (const efloat< nlimbs > &x, unsigned target) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::efloat_detail::acosh_working (const efloat< nlimbs > &x, unsigned target) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::efloat_detail::atanh_working (const efloat< nlimbs > &x, unsigned target) |
| template<unsigned nlimbs, typename Evaluate> | |
| constexpr efloat< nlimbs > | sw::universal::efloat_detail::round_hyperbolic (const efloat< nlimbs > &x, Evaluate evaluate) |
| template<unsigned nlimbs> | |
| constexpr bool | sw::universal::efloat_detail::hyperbolic_tiny (const efloat< nlimbs > &x) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::efloat_detail::hyperbolic_overflow (const efloat< nlimbs > &x, bool negative) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::sinh (const efloat< nlimbs > &x) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::cosh (const efloat< nlimbs > &x) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::tanh (const efloat< nlimbs > &x) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::asinh (const efloat< nlimbs > &x) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::acosh (const efloat< nlimbs > &x) |
| template<unsigned nlimbs> | |
| constexpr efloat< nlimbs > | sw::universal::atanh (const efloat< nlimbs > &x) |
Variables | |
| constexpr unsigned | sw::universal::efloat_detail::hyperbolic_error_bits = 24u |