Skip to main content

poly9

Function poly9 

Source
pub fn poly9<S: Simd, V: SimdFloat<S> + Copy>(
    simd: S,
    x: V,
    x2: V,
    x4: V,
    x8: V,
    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 9.

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.