|
| template<ComplexCompatible T> |
| std::complex< double > | to_std_complex (const complex< T > &c) |
| template<ComplexCompatible T> |
| complex< T > | from_std_complex (const std::complex< double > &c) |
| bfloat16 | bfloat16_cos_float_path (bfloat16 x) |
| bfloat16 | bfloat16_cos_double_path (bfloat16 x) |
| bool | bfloat16_cos_float_path_is_unreliable () |
| template<typename Float, typename Target, typename Source> |
| constexpr Target | cast_via (const Source &src) noexcept |
| template<typename Target, typename Source> |
| constexpr bool | cast_via_double_expansion (const Source &src, Target &out) noexcept |
| template<typename T> |
| T | eft_splitter () |
| template<typename T> |
| UNIVERSAL_ELREAL_EFT_NOINLINE void | two_sum_host (T a, T b, T &s, T &r) |
| template<> |
| void | two_sum_host< double > (double a, double b, double &s, double &r) |
| template<typename T> |
| UNIVERSAL_ELREAL_EFT_NOINLINE void | split_host (T a, T &hi, T &lo) |
| template<typename T> |
| UNIVERSAL_ELREAL_EFT_NOINLINE void | two_prod_host (T a, T b, T &p, T &r) |
| template<> |
| void | two_prod_host< double > (double a, double b, double &p, double &r) |
| template<typename T> |
| UNIVERSAL_ELREAL_EFT_NOINLINE void | two_div_host (T a, T b, T &q, T &r) |
| template<typename T> |
| UNIVERSAL_ELREAL_EFT_NOINLINE void | two_div_rem_host (T a, T b, T &q, T &rem) |
| constexpr bool | is_inf_class (elreal_class c) noexcept |
| constexpr elreal_class | negate_class (elreal_class c) noexcept |
| constexpr elreal_class | inf_with_sign (int s) noexcept |
| template<typename FpType> |
| constexpr int | series_stop_exp (std::size_t wdepth) |
| template<typename FpType> |
| ZBCL< FpType > | take_while_above (ZBCL< FpType > z, int floor_exp) |
| template<typename FpType> |
| series< FpType > | ops_term_stream (ZBCL< FpType > power, ZBCL< FpType > step, double denom, int floor_exp) |
| template<typename FpType> |
| ZBCL< FpType > | odd_power_series (ZBCL< FpType > x, bool alternating, std::size_t depth) |
| template<typename FpType> |
| series< FpType > | e_term_stream (ZBCL< FpType > term, double n, int floor_exp) |
| template<typename FpType, typename Gen> |
| ZBCL< FpType > | memoize_by_depth (std::vector< ZBCL< FpType > > &cache, std::size_t depth, Gen compute) |
| template<typename FpType> |
| series< FpType > | exp_term_stream (ZBCL< FpType > term, ZBCL< FpType > xr, double n, int floor_exp) |
| template<typename FpType> |
| series< FpType > | sincos_term_stream (ZBCL< FpType > term, ZBCL< FpType > neg_t2, double a, int floor_exp) |
| template<typename FpType> |
| ZBCL< FpType > | sin_series (ZBCL< FpType > t, std::size_t depth) |
| template<typename FpType> |
| ZBCL< FpType > | cos_series (ZBCL< FpType > t, std::size_t depth) |
| template<typename FpType> |
| integer< 256, std::uint32_t > | zbcl_round_to_int (const ZBCL< FpType > &q, std::size_t depth) |
| template<typename FpType> |
| ZBCL< FpType > | int_to_zbcl (integer< 256, std::uint32_t > N) |
| template<typename FpType> |
| std::pair< ZBCL< FpType >, ZBCL< FpType > > | sincos (ZBCL< FpType > x, std::size_t depth) |
| template<typename FpType> |
| elreal< FpType > | elreal_special (double v, std::size_t d) |
| template<typename FpType> |
| elreal< FpType > | elreal_nan (std::size_t d) |
| template<typename FpType> |
| elreal< FpType > | elreal_inf (int sign, std::size_t d) |
| template<typename FpType> |
| int | compare_magnitude_with_one (const elreal< FpType > &x) |
| template<typename FpType> |
| nonzero_lead< FpType > | first_nonzero_block (ZBCL< FpType > s, std::size_t window) |
| template<typename FpType> |
| ZBCL< FpType > | from_integer (unsigned long long magnitude, bool negative) |
| template<typename FpType> |
| bool | is_integer (ZBCL< FpType > y, std::size_t window, bool &odd) |
| template<fixpnt_integral mode, unsigned nbits, unsigned rbits, bool arithmetic, typename bt> |
| fixpnt< nbits, rbits, arithmetic, bt > | to_integral (const fixpnt< nbits, rbits, arithmetic, bt > &x) |
| template<typename Policy> |
| constexpr double | gauss_log_add (double a, double b) |
| constexpr unsigned | cotransformation_default_split_j (unsigned f) |
| constexpr double | pow2_double (unsigned e) |
| template<typename T> |
| constexpr bool | has_limits () |
| template<typename T> |
| constexpr long | promotion_max_exponent () |
| template<typename T> |
| constexpr long | promotion_digits () |
| template<typename T> |
| constexpr long | promotion_min_exponent () |
| template<typename T> |
| constexpr std::string_view | promotion_type_name () |
| template<typename T1, typename T2> |
| constexpr bool | promotion_ranks_above () |
| template<typename T> |
| auto | has_fma_probe (int) -> std::enable_if_t< std::is_same_v< std::decay_t< decltype(fma(std::declval< const T & >(), std::declval< const T & >(), std::declval< const T & >()))>, T >, std::true_type > |
| constexpr scaled_log10 | split_floor (std::int64_t k) noexcept |
| precision_point | make_precision_point (double x, double ulp) |
| template<typename T> |
| constexpr unsigned | precision_nbits () |
| template<typename T> |
| double | precision_minpos () |
| template<typename T> |
| double | precision_maxpos () |
| template<typename T> |
| bool | precision_spacing (const T &x, double maxpos, double &ulp) |
| template<typename T> |
| T | next_up (T x) noexcept |
| template<typename T> |
| T | next_down (T x) noexcept |
| template<typename T> |
| T | two_sum_roundoff (T a, T b, T s) noexcept |
| | The exact roundoff of a + b, given the rounded sum s (Knuth's TwoSum).
|
| template<typename T> |
| T | add_down (T a, T b) noexcept |
| | a + b, rounded toward -infinity
|
| template<typename T> |
| T | add_up (T a, T b) noexcept |
| | a + b, rounded toward +infinity
|
| template<typename T> |
| T | sub_down (T a, T b) noexcept |
| template<typename T> |
| T | sub_up (T a, T b) noexcept |
| template<typename T> |
| bool | product_roundoff (T a, T b, T p, T &roundoff) noexcept |
| | The exact roundoff of a * b is fma(a, b, -p), which holds whenever the product neither overflows nor falls into the subnormal range; below the smallest normal the roundoff itself is no longer representable, so the sign cannot be trusted and the bound is widened unconditionally.
|
| template<typename T> |
| T | mul_down (T a, T b) noexcept |
| template<typename T> |
| T | mul_up (T a, T b) noexcept |
| template<typename T> |
| quotient_position | locate_quotient (T a, T b, T q) noexcept |
| | For a quotient q of a / b, fma(-q, b, a) is the exact residual a - q*b, and the true quotient lies above q exactly when that residual has the same sign as b.
|
| template<typename T> |
| T | div_down (T a, T b) noexcept |
| template<typename T> |
| T | div_up (T a, T b) noexcept |
| template<typename T> |
| T | sqrt_down (T x) noexcept |
| | sqrt(x) is exact when x - r*r is zero; otherwise the true root lies above r when r*r undershoots x.
|
| template<typename T> |
| T | sqrt_up (T x) noexcept |
| template<typename T> |
| T | tracked_two_sum (T a, T b, T &r) |
| | two_sum: compute s + r = a + b exactly Returns the floating-point sum s, and stores the exact error in r
|
| template<typename T> |
| T | tracked_two_diff (T a, T b, T &r) |
| | two_diff: compute s + r = a - b exactly
|
| template<typename T> |
| void | tracked_split (T a, T &hi, T &lo) |
| | split: split a into high and low parts for two_prod
|
| template<typename T> |
| T | tracked_two_prod (T a, T b, T &r) |
| | two_prod: compute p + r = a * b exactly
|
| template<typename T> |
| T | tracked_two_sqr (T a, T &r) |
| | two_sqr: compute p + r = a * a exactly (optimized for squaring)
|
| template<typename T> |
| T | ulp_spacing (T x) |
| | Get the ULP (Unit in Last Place) of a floating-point value ULP is the spacing between adjacent floating-point values at this magnitude.
|
| template<typename I> |
| std::string | ubox_text (const I &x, int precision) |
| std::string | html_escape (const std::string &s) |
| std::string | fmt (long double v, int precision=4, bool sci=false) |
| void | write_width_chart (std::ostream &o, const ubox_trace &t) |
| void | write_step_strip (std::ostream &o, const ubox_trace &t, std::size_t i) |
| const char * | ubox_style () |
| void | write_trace (std::ostream &o, const ubox_trace &t) |
| template<unsigned nbits, unsigned es, typename bt> |
| areal< nbits, es, bt > | fma (const areal< nbits, es, bt > &, const areal< nbits, es, bt > &, const areal< nbits, es, bt > &) |