/freebsd-current/contrib/arm-optimized-routines/math/ |
H A D | erf.c | 50 double y = fma (TwoOverSqrtPiMinusOne, x, x); 60 double r1 = fma (x2, PA[1], PA[0]); 61 double r2 = fma (x2, PA[3], PA[2]); 62 double r3 = fma (x2, PA[5], PA[4]); 63 double r4 = fma (x2, PA[7], PA[6]); 64 double r5 = fma (x2, PA[9], PA[8]); 67 r = fma (x4, r, r4); 68 r = fma (x4, r, r3); 69 r = fma (x4, r, r2); 70 r = fma (x [all...] |
H A D | log2.c | 54 lo = r * InvLn2lo + fma (r, InvLn2hi, -hi); 65 /* Worst-case error is less than 0.54 ULP (0.55 ULP without fma). */ 105 r = fma (z, invc, -1.0); 107 t2 = r * InvLn2lo + fma (r, InvLn2hi, -t1); 128 /* Worst-case error if |y| > 0x1p-4: 0.547 ULP (0.550 ULP without fma). 129 ~ 0.5 + 2/N/ln2 + abs-poly-error*0x1p56 ULP (+ 0.003 ULP without fma). */
|
/freebsd-current/contrib/arm-optimized-routines/pl/math/ |
H A D | erfc_1u8.c | 101 double p2 = fma (P21, r2, -P20); 102 double p3 = -r * fma (P20, r2, -0.5); 103 double p4 = fma (fma (P42, r2, -P41), r2, P40); 104 double p5 = -r * fma (fma (P52, r2, -P51), r2, P50); 107 double p6 = fma (Q5 * r, p5, p4) * R5; 108 double p7 = fma (Q6 * r, p6, p5) * R6; 109 double p8 = fma (Q7 * r, p7, p6) * R7; 110 double p9 = fma (Q [all...] |
H A D | erf_2u5.c | 54 return fma (TwoOverSqrtPiMinusOne, x, x); 75 double p2 = fma (TwoThird, r2, -OneThird); 76 double p3 = -r * fma (OneThird, r2, -0.5); 77 double p4 = fma (fma (TwoOverFifteen, r2, -TwoOverFive), r2, Tenth); 79 = -r * fma (fma (TwoOverFortyFive, r2, -TwoOverNine), r2, Sixth); 81 double p34 = fma (p4, d, p3); 82 double p12 = fma (p2, d, p1); 83 double y = fma (p [all...] |
H A D | poly_scalar_f64.h | 17 #define FMA fma
|
H A D | tanh_3u.c | 32 double j = fma (InvLn2, x, Shift) - Shift; 34 double f = fma (j, -Ln2hi, x); 35 f = fma (j, -Ln2lo, f); 40 double p = fma (f2, estrin_10_f64 (f, f2, f4, f4 * f4, __expm1_poly), f); 45 return fma (p, t, t - 1);
|
H A D | expm1_2u5.c | 56 double j = fma (InvLn2, x, Shift) - Shift; 58 double f = fma (j, -Ln2hi, x); 59 f = fma (j, -Ln2lo, f); 68 double p = fma (f2, estrin_10_f64 (f, f2, f4, f4 * f4, __expm1_poly), f); 76 return 2 * fma (p, t, t - 0.5);
|
H A D | cbrt_2u.c | 44 double p_01 = fma (C (1), m, C (0)); 45 double p_23 = fma (C (3), m, C (2)); 46 double p = fma (p_23, m * m, p_01); 50 double a = fma (TwoThirds, p, m_by_3 / (p * p)); 51 a = fma (TwoThirds, a, m_by_3 / (a * a));
|
H A D | atan_common.h | 23 double y = fma (estrin_11_f64 (z2, x2, x4, x8, __atan_poly_data.poly + 8), 27 y = fma (y, z2 * az, az);
|
H A D | log1p_2u.c | 97 return fma (x, eval_poly (x) * x, x); 119 double p = fma (f, eval_poly (f) * f, f); 122 double y = fma (Ln2Lo, kd, cm); 123 return y + fma (Ln2Hi, kd, p);
|
H A D | acos_2u.c | 72 double z2 = ax < 0.5 ? x * x : fma (-0.5, ax, 0.5); 82 p = fma (z * z2, p, z); 90 return (x <= -0.5) ? fma (-2.0, p, Pi) : 2.0 * p;
|
H A D | asin_3u.c | 79 double z2 = ax < 0.5 ? x * x : fma (-0.5, ax, 0.5); 89 p = fma (z * z2, p, z); 93 double y = ax < 0.5 ? p : fma (-2.0, p, PiOver2);
|
H A D | atanh_3u.c | 48 double p = fma ( 53 double y = fma (Ln2Lo, kd, cm); 54 return y + fma (Ln2Hi, kd, p);
|
H A D | sinpi_3u.c | 79 y = fma (-4 * r2, r, y);
|
H A D | cospi_3u1.c | 76 y = fma (-4 * r2, r, y);
|
H A D | asinh_2u5.c | 64 double y = fma (p, x2 * ax, ax);
|
H A D | finite_pow.h | 67 double r = fma (z, invc, -1.0); 81 double lo3 = fma (ar, r, -ar2); 194 is no spurious underflow here even without fma. */ 241 is no spurious underflow here even without fma. */ 363 double elo = y * lo + fma (y, hi, -ehi);
|
/freebsd-current/contrib/llvm-project/libcxx/include/__math/ |
H A D | fma.h | 26 inline _LIBCPP_HIDE_FROM_ABI float fma(float __x, float __y, float __z) _NOEXCEPT { 31 _LIBCPP_HIDE_FROM_ABI double fma(double __x, double __y, double __z) _NOEXCEPT { 35 inline _LIBCPP_HIDE_FROM_ABI long double fma(long double __x, long double __y, long double __z) _NOEXCEPT { 43 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2, _A3>::type fma(_A1 __x, _A2 __y, _A3 __z) _NOEXCEPT {
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.cpp | 190 return {Intrinsic::fma, FTZ_Any}; 192 return {Intrinsic::fma, FTZ_MustBeOff}; 194 return {Intrinsic::fma, FTZ_MustBeOn}; 196 return {Intrinsic::fma, FTZ_MustBeOff, true}; 198 return {Intrinsic::fma, FTZ_MustBeOn, true}; 200 return {Intrinsic::fma, FTZ_MustBeOff, true}; 202 return {Intrinsic::fma, FTZ_MustBeOn, true}; 204 return {Intrinsic::fma, FTZ_MustBeOff, true}; 206 return {Intrinsic::fma, FTZ_MustBeOn, true}; 208 return {Intrinsic::fma, FTZ_MustBeOf [all...] |
/freebsd-current/lib/msun/tests/ |
H A D | fma_test.c | 28 * Tests for fma{,f,l}(). 61 test(fma, (double)(x), (double)(y), (double)(z), \ 81 * This is needed because clang constant-folds fma in ways that are incorrect 114 test(fma, -DBL_MIN, DBL_MIN, 0.0, -0.0, 148 test(fma, DBL_MAX, DBL_MAX, -INFINITY, -INFINITY, ALL_STD_EXCEPT, 0); 152 test(fma, DBL_MAX, -DBL_MAX, INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 169 test(fma, DBL_MIN, DBL_MIN, NAN, NAN, ALL_STD_EXCEPT, 0); 172 test(fma, DBL_MAX, DBL_MAX, NAN, NAN, ALL_STD_EXCEPT, 0); 186 test(fma, one, one, 0x1.0p-200, 1.0 + DBL_EPSILON, 199 test(fma, [all...] |
/freebsd-current/sys/dev/iommu/ |
H A D | busdma_iommu.c | 694 vm_page_t *ma, fma; local 708 fma = NULL; 718 if (fma == NULL) { 719 fma = malloc(sizeof(struct vm_page) * ma_cnt, 721 if (fma == NULL) { 726 vm_page_initfake(&fma[i], pstart + ptoa(i), 728 ma[i] = &fma[i]; 733 free(fma, M_DEVBUF); 745 vm_page_t *ma, fma; local 759 fma [all...] |
/freebsd-current/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 71 __DEVICE__ double fma(double, double, double); 72 __DEVICE__ float fma(float, float, float); 221 using ::fma;
|
H A D | __clang_hip_cmath.h | 48 __DEVICE__ __CONSTEXPR__ float fma(float __x, float __y, float __z) { function 172 __DEVICE__ __CONSTEXPR__ _Float16 fma(_Float16 __x, _Float16 __y, function 555 fma(__T1 __x, __T2 __y, __T3 __z) { function 557 return ::fma((__result_type)__x, (__result_type)__y, (__result_type)__z); 566 fma(__T1 __x, __T2 __y, __T3 __z) { 567 return ::fma((double)__x, (double)__y, (double)__z); 671 using ::fma;
|
/freebsd-current/lib/msun/src/ |
H A D | s_fma.c | 37 fma(double x, double y, double z) function 184 fma(double x, double y, double z) function 294 __weak_reference(fma, fmal);
|
/freebsd-current/contrib/llvm-project/libcxx/include/ |
H A D | math.h | 192 floating_point fma (arithmetic x, arithmetic y, arithmetic z); 363 # include <__math/fma.h> 464 using std::__math::fma;
|