Skip to main content

poly10

Function poly10 

Source
pub fn poly10<S: Simd, V: SimdFloat<S> + Copy>(
    simd: S,
    x: V,
    x2: V,
    x4: V,
    x8: V,
    c9: V::Element,
    c8: V::Element,
    c7: V::Element,
    c6: V::Element,
    c5: V::Element,
    c4: V::Element,
    c3: V::Element,
    c2: V::Element,
    c1: V::Element,
    c0: V::Element,
) -> V
Expand description

Estrin polynomial evaluation with scalar coefficients, degree 10.

Every polyN takes the same (simd, x, x2, x4 [, x8] [, x16], coefficients...) shape so the nesting below stays uniform; the higher powers are unused below degree 5.