Searched refs:erf (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Dsv_erff_2u.c2 * Single-precision vector erf(x) function.
25 /* Single-precision implementation of vector erf(x).
30 erf(x) ~ erf(r) + scale * d * [1 - r * d - 1/3 * d^2]
32 Values of erf(r) and scale are read from lookup tables.
33 For |x| < 0x1.cp-7, the algorithm sets r = 0, erf(r) = 0, and scale = 2 /
35 |x| > 3.9375, erf(|x|) rounds to 1.0f.
42 svfloat32_t SV_NAME_F1 (erf) (svfloat32_t x, const svbool_t pg) function
61 /* r and erf(r) set to 0 for |x| below min. */
63 svfloat32_t erfr = svld1_gather_index (a_gt_min, __sv_erff_data.erf,
[all...]
H A Derf_2u5.c2 * Double-precision erf(x) function.
27 /* Fast erf approximation based on series expansion near x rounded to
31 erf(x) ~ erf(r)
42 erf(-0x1.00003c924e5d1p-8) got -0x1.20dd59132ebadp-8
45 erf (double x) function
63 /* Lookup erf(r) and scale(r) in table.
64 Set erf(r) to 0 and scale to 2/sqrt(pi) for |x| <= 0x1.cp-9. */
65 double erfr = __erf_data.tab[i].erf;
68 /* erf(
[all...]
H A Dv_erff_2u.c2 * Single-precision vector erf(x) function.
32 float32x4_t erf; member in struct:entry
46 e.erf = vuzp1q_f32 (e1, e2);
51 /* Single-precision implementation of vector erf(x).
56 erf(x) ~ erf(r) + scale * d * [1 - r * d - 1/3 * d^2]
58 Values of erf(r) and scale are read from lookup tables.
59 For |x| > 3.9375, erf(|x|) rounds to 1.0f.
64 float32x4_t VPCS_ATTR V_NAME_F1 (erf) (float32x4_t x) function
82 /* Lookup erf(
[all...]
H A Dsv_erf_2u5.c2 * Double-precision vector erf(x) function.
31 /* Double-precision implementation of vector erf(x).
35 erf(x) ~ erf(r) + scale * d * [
47 svfloat64_t SV_NAME_D1 (erf) (svfloat64_t x, const svbool_t pg) function
66 svfloat64_t erfr = svld1_gather_index (a_lt_max, __sv_erf_data.erf, i);
69 /* erf(x) ~ erf(r) + scale * d * poly (r, d). */
107 PL_SIG (SV, D, 1, erf, -6.0, 6.0)
108 PL_TEST_ULP (SV_NAME_D1 (erf), 1.7
[all...]
H A Dv_erf_2u5.c2 * Double-precision vector erf(x) function.
41 float64x2_t erf; member in struct:entry
51 e.erf = vuzp1q_f64 (e1, e2);
56 /* Double-precision implementation of vector erf(x).
61 erf(x) ~ erf(r) + scale * d * [
71 V_NAME_D1 (erf)(-0x1.00003c924e5d1p-8) got -0x1.20dd59132ebadp-8
73 float64x2_t VPCS_ATTR V_NAME_D1 (erf) (float64x2_t x) function
103 /* Lookup erf(r) and scale(r) in table, without shortcut for small values,
113 /* erf(
[all...]
H A Derff_2u.c2 * Single-precision erf(x) function.
20 erf(x) ~ erf(r)
31 erf(x) ~ erf(r) + scale * d * [1 - r * d - 1/3 * d^2]
33 Values of erf(r) and scale are read from lookup tables.
34 For |x| > 3.9375, erf(|x|) rounds to 1.0f.
53 /* Lookup erf(r) and scale(r) in tables, e.g. set erf(r) to 0 and scale
59 float erfr = __erff_data.tab[i].erf;
[all...]
H A Dmath_config.h351 float erf, scale; member in struct:erff_data::__anon49
357 float erf[513]; member in struct:sv_erff_data
440 double erf, scale; member in struct:erf_data::__anon54
446 double erf[769]; member in struct:sv_erf_data
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Derror_functions.h24 // erf
26 inline _LIBCPP_HIDE_FROM_ABI float erf(float __x) _NOEXCEPT { return __builtin_erff(__x); }
29 _LIBCPP_HIDE_FROM_ABI double erf(double __x) _NOEXCEPT {
33 inline _LIBCPP_HIDE_FROM_ABI long double erf(long double __x) _NOEXCEPT { return __builtin_erfl(__x); }
36 inline _LIBCPP_HIDE_FROM_ABI double erf(_A1 __x) _NOEXCEPT {
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dulp_funcs.h17 F1 (erf)
24 D1 (erf)
H A Drunulp.sh87 t erf 0 0xffff000000000000 10000
88 t erf 0x1p-1022 0x1p-26 40000
89 t erf -0x1p-1022 -0x1p-26 40000
90 t erf 0x1p-26 0x1p3 40000
91 t erf -0x1p-26 -0x1p3 40000
92 t erf 0 inf 40000
H A Dmathbench_funcs.h19 D (erf, -6.0, 6.0)
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_erf.c38 * erf(3)
43 atf_tc_set_md_var(tc, "descr", "Test erf(NaN) == NaN");
50 ATF_CHECK(isnan(erf(x)) != 0);
56 atf_tc_set_md_var(tc, "descr", "Test erf(-Inf) == -1.0");
63 if (erf(x) != -1.0)
64 atf_tc_fail_nonfatal("erf(-Inf) != -1.0");
70 atf_tc_set_md_var(tc, "descr", "Test erf(+Inf) == 1.0");
77 if (erf(x) != 1.0)
78 atf_tc_fail_nonfatal("erf(+Inf) != 1.0");
84 atf_tc_set_md_var(tc, "descr", "Test erf(
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h57 __DEVICE__ double erf(double);
58 __DEVICE__ float erf(float);
213 using ::erf;
H A D__clang_cuda_cmath.h253 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, erf)
380 using ::erf;
H A Dtgmath.h621 // erf
629 __tg_erf(double __x) {return erf(__x);}
635 #undef erf macro
636 #define erf(__x) __tg_erf(__tg_promote1((__x))(__x)) macro
H A D__clang_hip_cmath.h217 __DEF_FUN1(float, erf)
493 __HIP_OVERLOAD1(double, erf)
663 using ::erf;
/freebsd-current/lib/msun/
H A DMakefile175 cpow.3 csqrt.3 erf.3 \
216 MLINKS+=erf.3 erfc.3 erf.3 erff.3 erf.3 erfcf.3 erf.3 erfl.3 erf.3 erfcl.3
/freebsd-current/sys/dev/qlxgbe/
H A Dql_ioctl.c100 qla_erase_flash_t *erf; member in union:__anon4452
185 u.erf = (qla_erase_flash_t *)data;
186 if ((rval = ql_erase_flash(ha, u.erf->off,
187 u.erf->size))) {
/freebsd-current/lib/msun/src/
H A Ds_erf.c12 /* double erf(double x)
16 * erf(x) = --------- | exp(-t*t)dt
20 * erfc(x) = 1-erf(x)
22 * erf(-x) = -erf(x)
27 * erf(x) = x + x*R(x^2)
28 * erfc(x) = 1 - erf(x) if x in [-.84375,0.25]
33 * | R - (erf(x)-x)/x | <= 2
37 * erf(x) = (2/sqrt(pi))*(x - x^3/3 + x^5/10 - x^7/42 + ....)
41 * point of erf(
193 erf(double x) function
[all...]
H A Dmath.h276 double erf(double);
/freebsd-current/include/
H A Dtgmath.h167 #define erf(x) __tg_simple(x, erf) macro
/freebsd-current/contrib/libpcap/
H A Dpcap-dag.c302 dag_erf_ext_header_count(const uint8_t *erf, size_t len) argument
308 if ( erf == NULL )
314 if ( (erf[8] & 0x80) == 0x00 )
325 hdr_type = erf[(16 + (hdr_num * 8))];
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h172 floating_point erf (arithmetic x);
456 using std::__math::erf;
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c106 TGMACRO_REAL(erf)
488 PRINT("erf",
489 PASS_REAL_ARG_REAL_RET(erf));
/freebsd-current/contrib/arm-optimized-routines/math/
H A Derf.c2 * Double-precision erf(x) function.
31 /* Fast erf implementation using a mix of
35 erf (double x) function
235 /* Special cases : erf(nan)=nan, erf(+inf)=+1 and erf(-inf)=-1. */

Completed in 263 milliseconds

12