FastLED 3.10.9
Loading...
Searching...
No Matches

◆ test_min_f32_4()

bool autoresearch::simd_check::test_min_f32_4 ( )
inline

Definition at line 669 of file AutoResearchSimd.h.

669 {
670 float a[4] = {1.0f, 5.0f, -3.0f, 7.0f};
671 float b[4] = {4.0f, 2.0f, 6.0f, -1.0f};
672 float expected[4] = {1.0f, 2.0f, -3.0f, -1.0f};
673 float output[4] = {0.0f};
674 store_f32_4(output, min_f32_4(load_f32_4(a), load_f32_4(b)));
675 return compare_f32(expected, output, 4);
676}
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: