|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#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/exponent.hpp>#include <universal/number/faithful/math/functions/logarithm.hpp>#include <universal/number/faithful/math/functions/truncate.hpp>#include <universal/number/faithful/math/functions/trigonometry.hpp>#include <universal/number/faithful/math/functions/fractional.hpp>#include <universal/numerics/twoprod.hpp>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
| namespace | sw::universal::faithful_detail |
Functions | |
| template<typename Real> | |
| bool | sw::universal::faithful_detail::is_integer (const faithful< Real > &y) |
| template<typename Real> | |
| bool | sw::universal::faithful_detail::is_odd_integer (const faithful< Real > &y) |
| template<typename Real> | |
| faithful< Real > | sw::universal::faithful_detail::ipow (const faithful< Real > &x, int n) |
| template<typename FloatingPointType> requires std::is_floating_point_v<FloatingPointType> | |
| faithful< FloatingPointType > | sw::universal::pow (const faithful< FloatingPointType > &x, const faithful< FloatingPointType > &y) |