MCPcopy Create free account
hub / github.com/FastLED/FastLED / test_set1_f32_4

Function test_set1_f32_4

examples/AutoResearch/AutoResearchSimd.h:350–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350inline bool test_set1_f32_4() {
351 float output[4] = {0.0f};
352 store_f32_4(output, set1_f32_4(3.14f));
353 float expected[4] = {3.14f, 3.14f, 3.14f, 3.14f};
354 return compare_f32(expected, output, 4);
355}
356
357// ============================================================================
358// u32x4 Extract Test

Callers

nothing calls this directly

Calls 1

compare_f32Function · 0.85

Tested by

no test coverage detected