Lines Matching refs:erf
2 * 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)
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, i);
69 /* erf(x) ~ erf(r) + scale * d * (1 - r * d + 1/3 * d^2). */
85 PL_SIG (SV, F, 1, erf, -4.0, 4.0)
86 PL_TEST_ULP (SV_NAME_F1 (erf), 1.43)
87 PL_TEST_SYM_INTERVAL (SV_NAME_F1 (erf), 0, 0x1.cp-7, 40000)
88 PL_TEST_SYM_INTERVAL (SV_NAME_F1 (erf), 0x1.cp-7, 3.9375, 40000)
89 PL_TEST_SYM_INTERVAL (SV_NAME_F1 (erf), 3.9375, inf, 40000)
90 PL_TEST_SYM_INTERVAL (SV_NAME_F1 (erf), 0, inf, 4000)