fastBellFuncSimd function

Float32x4 fastBellFuncSimd(
  1. Float32x4 x
)

Implementation

Float32x4 fastBellFuncSimd(Float32x4 x) {
  var x2 = x * x;
  return x2
      .greaterThan(_SIMD0_25)
      .select((_SIMD1 - x2) / (x2.scale(8)) + _SIMD0_125, _SIMD1 - x2.scale(2));
}