FastLED 3.9.15
Loading...
Searching...
No Matches

◆ test_sqrt_f32_4_zero()

bool autoresearch::simd_check::test_sqrt_f32_4_zero ( )
inline

Definition at line 660 of file AutoResearchSimd.h.

660 {
661 float a[4] = {0.0f, 1.0f, 100.0f, 0.25f};
662 float expected[4] = {0.0f, 1.0f, 10.0f, 0.5f};
663 float output[4] = {0.0f};
664 store_f32_4(output, sqrt_f32_4(load_f32_4(a)));
665 return compare_f32(expected, output, 4);
666}
bool compare_f32(const float *a, const float *b, size_t n, float eps=0.001f)

References compare_f32().

Referenced by getTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: