Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
trigonometry.hpp File Reference

Namespaces

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

Functions

template<typename FpType>
ZBCL< FpType > sw::universal::atan (ZBCL< FpType > x, std::size_t depth=4)
template<typename FpType>
ZBCL< FpType > sw::universal::asin (ZBCL< FpType > x, std::size_t depth=4)
template<typename FpType>
ZBCL< FpType > sw::universal::acos (ZBCL< FpType > x, std::size_t depth=4)
template<typename FpType>
series< FpType > sw::universal::detail::sincos_term_stream (ZBCL< FpType > term, ZBCL< FpType > neg_t2, double a, int floor_exp)
template<typename FpType>
ZBCL< FpType > sw::universal::detail::sin_series (ZBCL< FpType > t, std::size_t depth)
template<typename FpType>
ZBCL< FpType > sw::universal::detail::cos_series (ZBCL< FpType > t, std::size_t depth)
template<typename FpType>
integer< 256, std::uint32_t > sw::universal::detail::zbcl_round_to_int (const ZBCL< FpType > &q, std::size_t depth)
template<typename FpType>
ZBCL< FpType > sw::universal::detail::int_to_zbcl (integer< 256, std::uint32_t > N)
template<typename FpType>
std::pair< ZBCL< FpType >, ZBCL< FpType > > sw::universal::detail::sincos (ZBCL< FpType > x, std::size_t depth)
template<typename FpType>
ZBCL< FpType > sw::universal::sin (ZBCL< FpType > x, std::size_t depth=4)
template<typename FpType>
ZBCL< FpType > sw::universal::cos (ZBCL< FpType > x, std::size_t depth=4)
template<typename FpType>
ZBCL< FpType > sw::universal::tan (ZBCL< FpType > x, std::size_t depth=4)