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

Method s8x8

src/fl/math/fixed_point/s8x8.h:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 // ---- Construction ------------------------------------------------------
26
27 constexpr s8x8() FL_NOEXCEPT = default;
28
29 explicit constexpr s8x8(float f) FL_NOEXCEPT
30 : mValue(static_cast<i16>(f * (static_cast<i16>(1) << FRAC_BITS))) {}

Callers

nothing calls this directly

Calls 1

rawMethod · 0.45

Tested by

no test coverage detected