Searched refs:expm1 (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Dexpm1_2u5.c17 /* 0x1p-51, below which expm1(x) is within 2 ULP of x. */
19 /* Above which expm1(x) overflows. */
21 /* Below which expm1(x) rounds to 1. */
27 expm1(0x1.63f90a866748dp-2) got 0x1.a9af56603878ap-2
30 expm1 (double x) function
54 exp(x) - 1 = 2^i * (expm1(f) + 1) - 1
61 /* Approximate expm1(f) using polynomial.
62 Taylor expansion for expm1(x) has the form:
65 and assemble the approximation expm1(f) ~= f + f^2 * P(f). */
72 expm1(
[all...]
H A Dv_expm1f_1u6.c57 float32x4_t VPCS_ATTR V_NAME_F1 (expm1) (float32x4_t x) function
79 exp(x) - 1 = 2^i * (expm1(f) + 1) - 1
87 /* Approximate expm1(f) using polynomial.
88 Taylor expansion for expm1(x) has the form:
91 and assemble the approximation expm1(f) ~= f + f^2 * P(f). */
96 expm1(x) ~= 2^i * (p + 1) - 1
106 /* expm1(x) ~= p * t + (t - 1). */
110 PL_SIG (V, F, 1, expm1, -9.9, 9.9)
111 PL_TEST_ULP (V_NAME_F1 (expm1), 1.02)
112 PL_TEST_EXPECT_FENV (V_NAME_F1 (expm1), WANT_SIMD_EXCEP
[all...]
H A Dsv_expm1_2u5.c39 return sv_call_f64 (expm1, x, y, pg);
46 svfloat64_t SV_NAME_D1 (expm1) (svfloat64_t x, svbool_t pg) function
56 exp(x) - 1 = 2^i * (expm1(f) + 1) - 1
65 /* Approximate expm1(f) using polynomial.
66 Taylor expansion for expm1(x) has the form:
69 and assemble the approximation expm1(f) ~= f + f^2 * P(f). */
77 expm1(x) ~= 2^i * (p + 1) - 1
82 /* expm1(x) ~= p * t + (t - 1). */
91 PL_SIG (SV, D, 1, expm1, -9.9, 9.9)
92 PL_TEST_ULP (SV_NAME_D1 (expm1), 1.6
[all...]
H A Dv_expm1_2u5.c41 /* Value above which expm1(x) should overflow. Absolute value of the
51 return v_call_f64 (expm1, x, y, special);
58 float64x2_t VPCS_ATTR V_NAME_D1 (expm1) (float64x2_t x) function
81 exp(x) - 1 = 2^i * (expm1(f) + 1) - 1
88 /* Approximate expm1(f) using polynomial.
89 Taylor expansion for expm1(x) has the form:
92 and assemble the approximation expm1(f) ~= f + f^2 * P(f). */
99 expm1(x) ~= 2^i * (p + 1) - 1
109 /* expm1(x) ~= p * t + (t - 1). */
113 PL_SIG (V, D, 1, expm1,
[all...]
H A Dsv_expm1f_1u6.c12 /* Largest value of x for which expm1(x) should round to -1. */
43 svfloat32_t SV_NAME_F1 (expm1) (svfloat32_t x, svbool_t pg) function
61 exp(x) - 1 = 2^i * (expm1(f) + 1) - 1
70 /* Approximate expm1(f) using polynomial.
71 Taylor expansion for expm1(x) has the form:
74 and assemble the approximation expm1(f) ~= f + f^2 * P(f). */
83 expm1(x) ~= 2^i * (p + 1) - 1
90 PL_SIG (SV, F, 1, expm1, -9.9, 9.9)
91 PL_TEST_ULP (SV_NAME_F1 (expm1), 1.02)
92 PL_TEST_SYM_INTERVAL (SV_NAME_F1 (expm1),
[all...]
H A Dsinh_3u.c15 0x40862e42fefa39f0 /* 0x1.62e42fefa39fp+9, above which using expm1 results \
21 /* Approximation for double-precision sinh(x) using expm1.
40 /* expm1 overflows a little before sinh. We have to fill this
53 double t = expm1 (ax);
H A Dexpm1f_1u6.c19 (0x1.644716p6) /* Smallest value of x for which expm1(x) overflows. */
21 (-0x1.9bbabcp+6) /* Largest value of x for which expm1(x) rounds to 1. */
33 /* Tiny: |x| < 0x1p-23. expm1(x) is closely approximated by x.
34 Inf: x == +Inf => expm1(x) = x. */
51 exp(x) - 1 = 2^i * (expm1(f) + 1) - 1
58 /* Approximate expm1(f) using polynomial.
59 Taylor expansion for expm1(x) has the form:
62 and assemble the approximation expm1(f) ~= f + f^2 * P(f). */
66 expm1(x) ~= 2^i * (p + 1) - 1
69 /* expm1(
[all...]
/freebsd-current/lib/msun/src/
H A Ds_tanh.c24 * 2**-28 <= x < 1 : tanh(x) := -----; t = expm1(-2x)
27 * 1 <= x < 22 : tanh(x) := 1 - -----; t = expm1(2x)
65 t = expm1(two*fabs(x));
68 t = expm1(-two*fabs(x));
H A De_cosh.c54 /* |x| in [0,0.5*ln2], return 1+expm1(|x|)^2/(2*exp(|x|)) */
56 t = expm1(fabs(x));
H A De_sinh.c19 * 0 <= x <= 22 : sinh(x) := --------------, E=expm1(x)
57 t = expm1(fabs(x));
H A Ds_expm1.c12 /* expm1(x)
24 * 2. Approximating expm1(r) by a special rational function on
50 * expm1(r) = exp(r)-1 is then computed by the following
54 * expm1(r) = r + --- + --- * [--------------------]
58 * expm1(r+c) = expm1(r) + c + expm1(r)*c
59 * ~ expm1(r) + c + r*c
61 * expm1(r+c). Now rearrange the term to avoid optimization
65 * expm1(
129 expm1(double x) function
[all...]
H A Dmath.h279 double expm1(double);
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dexponential_functions.h95 // expm1
97 inline _LIBCPP_HIDE_FROM_ABI float expm1(float __x) _NOEXCEPT { return __builtin_expm1f(__x); }
100 _LIBCPP_HIDE_FROM_ABI double expm1(double __x) _NOEXCEPT {
104 inline _LIBCPP_HIDE_FROM_ABI long double expm1(long double __x) _NOEXCEPT { return __builtin_expm1l(__x); }
107 inline _LIBCPP_HIDE_FROM_ABI double expm1(_A1 __x) _NOEXCEPT {
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h63 __DEVICE__ double expm1(double);
64 __DEVICE__ float expm1(float);
217 using ::expm1;
H A D__clang_cuda_cmath.h257 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, expm1)
384 using ::expm1;
H A Dtgmath.h672 // expm1
680 __tg_expm1(double __x) {return expm1(__x);}
686 #undef expm1 macro
687 #define expm1(__x) __tg_expm1(__tg_promote1((__x))(__x)) macro
H A D__clang_hip_cmath.h221 __DEF_FUN1(float, expm1)
497 __HIP_OVERLOAD1(double, expm1)
667 using ::expm1;
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_exp.c381 * expm1(3)
386 atf_tc_set_md_var(tc, "descr", "Test expm1(NaN) == NaN");
393 if (isnan(expm1(x)) == 0)
394 atf_tc_fail_nonfatal("expm1(NaN) != NaN");
400 atf_tc_set_md_var(tc, "descr", "Test expm1(-Inf) == -1");
407 if (expm1(x) != -1.0)
408 atf_tc_fail_nonfatal("expm1(-Inf) != -1.0");
414 atf_tc_set_md_var(tc, "descr", "Test expm1(+Inf) == +Inf");
420 double y = expm1(x);
423 atf_tc_fail_nonfatal("expm1(
[all...]
/freebsd-current/lib/msun/tests/
H A Dexponential_test.c86 test(expm1, x, result, exceptmask, excepts); \
/freebsd-current/include/
H A Dtgmath.h170 #define expm1(x) __tg_simple(x, expm1) macro
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcmath.inc74 using ::expm1;
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h184 floating_point expm1 (arithmetic x);
460 using std::__math::expm1;
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c109 TGMACRO_REAL(expm1)
497 PRINT("expm1",
498 PASS_REAL_ARG_REAL_RET(expm1));
/freebsd-current/contrib/arm-optimized-routines/pl/math/include/
H A Dmathlib.h46 double expm1 (double);
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcmath.inc75 using std::expm1;

Completed in 283 milliseconds

12