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

Functions

template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::sin (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::cos (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::tan (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::atan (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::atan2 (const takum< nbits, rbits, bt > &y, const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::asin (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::acos (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::cot (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::sec (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::csc (const takum< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::sin (const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::cos (const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::tan (const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::asin (const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::acos (const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::atan (const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::atan2 (const takum_log< nbits, rbits, bt > &y, const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::sec (const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::csc (const takum_log< nbits, rbits, bt > &x)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::cot (const takum_log< nbits, rbits, bt > &x)