|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Functions | |
| template<typename T> | |
| complex< T > | times_i (const complex< T > &z) |
| template<typename T> | |
| complex< T > | times_minus_i (const complex< T > &z) |
| template<typename T> | |
| complex< T > | cexp (const complex< T > &z) |
| template<typename T> | |
| complex< T > | clog (const complex< T > &z) |
| template<typename T> | |
| complex< T > | csqrt (const complex< T > &z) |
| template<typename T> | |
| complex< T > | csinh (const complex< T > &z) |
| template<typename T> | |
| complex< T > | ccosh (const complex< T > &z) |
| template<typename T> | |
| complex< T > | ctanh (const complex< T > &z) |
| template<typename T> | |
| complex< T > | kahan_asin (const complex< T > &z) |
| template<typename T> | |
| complex< T > | casinh (const complex< T > &z) |
| template<typename T> | |
| complex< T > | casin (const complex< T > &z) |
| template<typename T> | |
| complex< T > | cacos (const complex< T > &z) |
| template<typename T> | |
| complex< T > | cacosh (const complex< T > &z) |
| template<typename T> | |
| complex< T > | catanh (const complex< T > &z) |
| template<typename T> | |
| complex< T > | catan (const complex< T > &z) |
| template<typename T> | |
| complex< T > | cpow_int (const complex< T > &z, int n) |
| template<typename T> | |
| T | infinity () |
| template<typename T> | |
| T | quiet_nan () |
| template<typename T> | |
| bool | is_nan (const T &v) |
| template<typename T> | |
| bool | is_inf (const T &v) |
| template<typename T> | |
| bool | is_finite (const T &v) |
| template<typename T> | |
| bool | sign_bit (const T &v) |
| template<typename T> | |
| T | magnitude (const T &v) |
| template<typename T> | |
| T | with_sign (const T &v, const T &s) |
| template<typename T> | |
| T | mul (const T &a, const T &b) |
| template<typename T> | |
| T | odd_sin (const T &v) |
| template<typename T> | |
| T | odd_tan (const T &v) |
| template<typename T> | |
| T | odd_sinh (const T &v) |
| template<typename T> | |
| T | odd_asinh (const T &v) |
| template<typename T> | |
| T | odd_log1p (const T &v) |
| template<typename T> | |
| T | add (const T &a, const T &b) |
| template<typename T> | |
| T | sub (const T &a, const T &b) |
| template<typename T> | |
| T | div (const T &a, const T &b) |
| template<typename T> | |
| const T & | pi () |
| template<typename T> | |
| const T & | half_pi () |
| template<typename T> | |
| const T & | quarter_pi () |
| template<typename T> | |
| const T & | three_quarter_pi () |
| template<typename T> | |
| T | hypot_annexf (const T &x, const T &y) |
| template<typename T> | |
| T | atan2_annexf (const T &y, const T &x) |
| T sw::universal::detail::cx::add | ( | const T & | a, |
| const T & | b ) |
| T sw::universal::detail::cx::atan2_annexf | ( | const T & | y, |
| const T & | x ) |
| complex< T > sw::universal::detail::cx::cpow_int | ( | const complex< T > & | z, |
| int | n ) |
| T sw::universal::detail::cx::div | ( | const T & | a, |
| const T & | b ) |
| const T & sw::universal::detail::cx::half_pi | ( | ) |
| T sw::universal::detail::cx::hypot_annexf | ( | const T & | x, |
| const T & | y ) |
| T sw::universal::detail::cx::infinity | ( | ) |
| bool sw::universal::detail::cx::is_finite | ( | const T & | v | ) |
| bool sw::universal::detail::cx::is_inf | ( | const T & | v | ) |
| bool sw::universal::detail::cx::is_nan | ( | const T & | v | ) |
| T sw::universal::detail::cx::magnitude | ( | const T & | v | ) |
| T sw::universal::detail::cx::mul | ( | const T & | a, |
| const T & | b ) |
| T sw::universal::detail::cx::odd_asinh | ( | const T & | v | ) |
| T sw::universal::detail::cx::odd_log1p | ( | const T & | v | ) |
| T sw::universal::detail::cx::odd_sin | ( | const T & | v | ) |
| T sw::universal::detail::cx::odd_sinh | ( | const T & | v | ) |
| T sw::universal::detail::cx::odd_tan | ( | const T & | v | ) |
| const T & sw::universal::detail::cx::pi | ( | ) |
| const T & sw::universal::detail::cx::quarter_pi | ( | ) |
| T sw::universal::detail::cx::quiet_nan | ( | ) |
| bool sw::universal::detail::cx::sign_bit | ( | const T & | v | ) |
| T sw::universal::detail::cx::sub | ( | const T & | a, |
| const T & | b ) |
| const T & sw::universal::detail::cx::three_quarter_pi | ( | ) |
| complex< T > sw::universal::detail::cx::times_minus_i | ( | const complex< T > & | z | ) |
| T sw::universal::detail::cx::with_sign | ( | const T & | v, |
| const T & | s ) |