5 implementations of MultiplyAddEstimate
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (1)
1144static Vector<T> ISimdVector<Vector<T>, T>.MultiplyAddEstimate(Vector<T> left, Vector<T> right, Vector<T> addend) => Vector.MultiplyAddEstimate(left, right, addend);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
796static Vector128<T> ISimdVector<Vector128<T>, T>.MultiplyAddEstimate(Vector128<T> left, Vector128<T> right, Vector128<T> addend) => Vector128.MultiplyAddEstimate(left, right, addend);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
784static Vector256<T> ISimdVector<Vector256<T>, T>.MultiplyAddEstimate(Vector256<T> left, Vector256<T> right, Vector256<T> addend) => Vector256.MultiplyAddEstimate(left, right, addend);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
784static Vector512<T> ISimdVector<Vector512<T>, T>.MultiplyAddEstimate(Vector512<T> left, Vector512<T> right, Vector512<T> addend) => Vector512.MultiplyAddEstimate(left, right, addend);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (1)
853static Vector64<T> ISimdVector<Vector64<T>, T>.MultiplyAddEstimate(Vector64<T> left, Vector64<T> right, Vector64<T> addend) => Vector64.MultiplyAddEstimate(left, right, addend);
136 references to MultiplyAddEstimate
System.Private.CoreLib (136)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (1)
1142/// <inheritdoc cref="ISimdVector{TSelf, T}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
794/// <inheritdoc cref="ISimdVector{TSelf, T}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
782/// <inheritdoc cref="ISimdVector{TSelf, T}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
782/// <inheritdoc cref="ISimdVector{TSelf, T}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (1)
851/// <inheritdoc cref="ISimdVector{TSelf, T}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (131)
90result = TVectorDouble.MultiplyAddEstimate( 91TVectorDouble.MultiplyAddEstimate( 101result = TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(-0.5), x2, TVectorDouble.One); 246result = TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(-0.5f), x2, TVectorSingle.One); 414TVectorDouble dn = TVectorDouble.MultiplyAddEstimate(x, TVectorDouble.Create(V_TBL_LN2), TVectorDouble.Create(V_EXPF_HUGE)); 424TVectorDouble r = TVectorDouble.MultiplyAddEstimate(dn, TVectorDouble.Create(-V_LN2_HEAD), x); 425r = TVectorDouble.MultiplyAddEstimate(dn, TVectorDouble.Create(-V_LN2_TAIL), r); 432TVectorDouble poly = TVectorDouble.MultiplyAddEstimate( 433TVectorDouble.MultiplyAddEstimate( 434TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C12), r, TVectorDouble.Create(C11)), 436TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C10), r, TVectorDouble.Create(C09))), 438TVectorDouble.MultiplyAddEstimate( 439TVectorDouble.MultiplyAddEstimate( 440TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C08), r, TVectorDouble.Create(C07)), 442TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C06), r, TVectorDouble.Create(C05))), 444TVectorDouble.MultiplyAddEstimate( 445TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C04), r, TVectorDouble.Create(C03)), 577TVectorDouble poly = TVectorDouble.MultiplyAddEstimate( 579TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C6), r, TVectorDouble.Create(C5)), 580TVectorDouble.MultiplyAddEstimate( 582TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C4), r, TVectorDouble.Create(C3)), 583TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C2), r, TVectorDouble.Create(C1)) 693rTail += TVectorDouble.MultiplyAddEstimate(xHead, xHead, -xx); 694rTail = TVectorDouble.MultiplyAddEstimate(xHead * 2, xTail, rTail); 695rTail = TVectorDouble.MultiplyAddEstimate(xTail, xTail, rTail); 702rTailTmp += TVectorDouble.MultiplyAddEstimate(yHead, yHead, -yy); 703rTailTmp = TVectorDouble.MultiplyAddEstimate(yHead * 2, yTail, rTailTmp); 704rTailTmp = TVectorDouble.MultiplyAddEstimate(yTail, yTail, rTailTmp); 767return TVectorDouble.Sqrt(TVectorDouble.MultiplyAddEstimate(x, x, y * y)); 867return TVector.MultiplyAddEstimate(x, TVector.One - amount, y * amount); 990TVectorDouble poly = TVectorDouble.MultiplyAddEstimate( 992TVectorDouble.MultiplyAddEstimate( 995TVectorDouble.MultiplyAddEstimate( 996TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C19), r, TVectorDouble.Create(C18)), 998TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C17), r, TVectorDouble.Create(C16)))), 999TVectorDouble.MultiplyAddEstimate( 1001TVectorDouble.MultiplyAddEstimate( 1003TVectorDouble.MultiplyAddEstimate( 1004TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C15), r, TVectorDouble.Create(C14)), 1006TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C13), r, TVectorDouble.Create(C12))), 1007TVectorDouble.MultiplyAddEstimate( 1008TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C11), r, TVectorDouble.Create(C10)), 1010TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C09), r, TVectorDouble.Create(C08)))), 1011TVectorDouble.MultiplyAddEstimate( 1013TVectorDouble.MultiplyAddEstimate( 1014TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C07), r, TVectorDouble.Create(C06)), 1016TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C05), r, TVectorDouble.Create(C04))), 1017TVectorDouble.MultiplyAddEstimate( 1018TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C03), r, TVectorDouble.Create(C02)), 1029TVectorDouble.MultiplyAddEstimate( 1032TVectorDouble.MultiplyAddEstimate(n, TVectorDouble.Create(LN2_TAIL), poly) 1165TVectorSingle q = TVectorSingle.MultiplyAddEstimate( 1166TVectorSingle.MultiplyAddEstimate( 1169TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(C09), r, TVectorSingle.Create(C08))), 1171TVectorSingle.MultiplyAddEstimate( 1172TVectorSingle.MultiplyAddEstimate( 1173TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(C07), r, TVectorSingle.Create(C06)), 1175TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(C05), r, TVectorSingle.Create(C04))), 1177TVectorSingle.MultiplyAddEstimate( 1178TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(C03), r, TVectorSingle.Create(C02)), 1188TVectorSingle.MultiplyAddEstimate(n, TVectorSingle.Create(V_LN2), q) 1310TVectorDouble poly = TVectorDouble.MultiplyAddEstimate( 1312TVectorDouble.MultiplyAddEstimate( 1315TVectorDouble.MultiplyAddEstimate( 1316TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C19), r, TVectorDouble.Create(C18)), 1318TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C17), r, TVectorDouble.Create(C16)))), 1319TVectorDouble.MultiplyAddEstimate( 1321TVectorDouble.MultiplyAddEstimate( 1323TVectorDouble.MultiplyAddEstimate( 1324TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C15), r, TVectorDouble.Create(C14)), 1326TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C13), r, TVectorDouble.Create(C12))), 1327TVectorDouble.MultiplyAddEstimate( 1328TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C11), r, TVectorDouble.Create(C10)), 1330TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C09), r, TVectorDouble.Create(C08)))), 1331TVectorDouble.MultiplyAddEstimate( 1333TVectorDouble.MultiplyAddEstimate( 1334TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C07), r, TVectorDouble.Create(C06)), 1336TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C05), r, TVectorDouble.Create(C04))), 1337TVectorDouble.MultiplyAddEstimate( 1338TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C03), r, TVectorDouble.Create(C02)), 1349TVectorDouble.MultiplyAddEstimate( 1352TVectorDouble.MultiplyAddEstimate(poly, TVectorDouble.Create(LN2_TAIL), n) 1486TVectorSingle poly = TVectorSingle.MultiplyAddEstimate( 1487TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(C9), r, TVectorSingle.Create(C8)), 1489TVectorSingle.MultiplyAddEstimate( 1490TVectorSingle.MultiplyAddEstimate( 1491TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(C7), r, TVectorSingle.Create(C6)), 1493TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(C5), r, TVectorSingle.Create(C4))), 1495TVectorSingle.MultiplyAddEstimate( 1496TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(C3), r, TVectorSingle.Create(C2)), 1816cosResult = TVectorDouble.MultiplyAddEstimate( 1817TVectorDouble.MultiplyAddEstimate( 1829sinResult = TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(-0.16666666666666666), x3, x); 1830cosResult = TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(-0.5), x2, TVectorDouble.One); 1967sinResult = TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(-0.16666667f), x3, x); 1968cosResult = TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(-0.5f), x2, TVectorSingle.One); 2141result = TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(-0.16666666666666666), x3, x); 2283result = TVectorSingle.MultiplyAddEstimate(TVectorSingle.Create(-0.16666667f), x3, x); 2433return TVectorDouble.MultiplyAddEstimate( 2436TVectorDouble.MultiplyAddEstimate(r, rr, ((TVectorDouble.One + t) - s)) 2455return TVectorDouble.MultiplyAddEstimate( 2456TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C6), r2, TVectorDouble.Create(C5)), 2458TVectorDouble.MultiplyAddEstimate( 2459TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C4), r2, TVectorDouble.Create(C3)), 2461TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C2), r2, TVectorDouble.Create(C1)) 2473return TVectorDouble.MultiplyAddEstimate( 2476TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(-0.5), r2, TVectorDouble.One) 2492return TVectorDouble.MultiplyAddEstimate( 2493TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C4), r2, TVectorDouble.Create(C3)), 2495TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(C2), r2, TVectorDouble.Create(C1)) 2510return TVectorDouble.MultiplyAddEstimate(CosSinglePoly(x), x4, s); 2792TVectorDouble sinPoly = TVectorDouble.MultiplyAddEstimate( 2795TVectorDouble.MultiplyAddEstimate( 2796TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(S5), r2, TVectorDouble.Create(S4)), 2798TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(S3), r2, TVectorDouble.Create(S2)) 2802return r - TVectorDouble.MultiplyAddEstimate( 2805TVectorDouble.MultiplyAddEstimate( 2806TVectorDouble.MultiplyAddEstimate(rr, TVectorDouble.Create(0.5), -(r3 * sinPoly)), 2829TVectorDouble poly = TVectorDouble.MultiplyAddEstimate( 2830TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(S6), r2, TVectorDouble.Create(S5)), 2832TVectorDouble.MultiplyAddEstimate( 2833TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(S4), r2, TVectorDouble.Create(S3)), 2835TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(S2), r2, TVectorDouble.Create(S1))) 2838return TVectorDouble.MultiplyAddEstimate(poly, r3, r); 2854return TVectorDouble.MultiplyAddEstimate( 2855TVectorDouble.MultiplyAddEstimate( 2856TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(S4), r2, TVectorDouble.Create(S3)), 2858TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(S2), r2, TVectorDouble.Create(S1))), 2879TVectorDouble npi2 = TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(V_TWO_BY_PI), ax, TVectorDouble.Create(V_ALM_SHIFT)); 2883TVectorDouble rhead = TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(-V_PI_BY_TWO_1), npi2, ax); 2887rtail = TVectorDouble.MultiplyAddEstimate(TVectorDouble.Create(V_PI_BY_TWO_2_TAIL), npi2, -(rhead - r - rtail));