public static float AbsMax(this ReadOnlySpan <float> array) { int len = array.Length; if (len < 8) { return(array.AbsMaxFallback()); } if (Avx.IsSupported) { return(array.AbsMaxAvx()); } else if (Sse.IsSupported) { return(array.AbsMaxSse()); } else if (AdvSimd.Arm64.IsSupported) { return(array.AbsMaxAdvSimd64()); } return(array.AbsMaxFallback()); }