|
| template<typename R> |
| R | sw::universal::bisection_aux_inf () |
| template<typename R, typename Generator, typename Refinement> |
| R | sw::universal::bisection_point (const R &xl, const R &xh, Generator g, Refinement f) |
| | Encode a real number x into a p-bit signed integer y using the bisection framework.
|
| template<typename B> |
| B | sw::universal::bisection_detail::bit_mask (unsigned pos) |
| | Create a value of type B with exactly one bit set at position pos.
|
| template<typename B> |
| bool | sw::universal::bisection_detail::bit_test (const B &v, unsigned pos) |
| | Read the bit at position pos in value v.
|
| template<typename B> |
| void | sw::universal::bisection_detail::sign_extend (B &y, unsigned p) |
| | Sign-extend from p bits to the full width of B.
|
| template<typename B> |
| B | sw::universal::bisection_detail::nan_encoding (unsigned p) |
| | NaN sentinel: the minimum signed value for a p-bit two's complement integer (1000...0 pattern).
|
| template<typename B> |
| B | sw::universal::bisection_detail::negate_bits (const B &v) |
| | Two's complement negation.
|
| template<typename R, typename B, typename Generator, typename Refinement> |
| B | sw::universal::bisection_encode (const R &x, unsigned p, Generator g, Refinement f) |
| template<typename R, typename B, typename Generator, typename Refinement> |
| R | sw::universal::bisection_decode (const B &y_in, unsigned p, Generator g, Refinement f) |
| | Decode a p-bit signed integer y back to a real number x in the auxiliary real type R.
|
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::operator+ (bisection< G, R, n, b, A > lhs, const bisection< G, R, n, b, A > &rhs) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::operator- (bisection< G, R, n, b, A > lhs, const bisection< G, R, n, b, A > &rhs) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::operator* (bisection< G, R, n, b, A > lhs, const bisection< G, R, n, b, A > &rhs) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::operator/ (bisection< G, R, n, b, A > lhs, const bisection< G, R, n, b, A > &rhs) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::abs (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::sqrt (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::log (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::exp (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::sin (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::cos (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::tan (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::asin (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::acos (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::atan (const bisection< G, R, n, b, A > &v) |
| template<typename G, typename R, unsigned n, typename b, typename A> |
| bisection< G, R, n, b, A > | sw::universal::pow (const bisection< G, R, n, b, A > &base, const bisection< G, R, n, b, A > &exp) |