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

Method raw

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

Source from the content-addressed store, hash-verified

57 // ---- Access ------------------------------------------------------------
58
59 constexpr i16 raw() const FL_NOEXCEPT { return mValue; }
60 constexpr i16 to_int() const FL_NOEXCEPT { return mValue >> FRAC_BITS; }
61 constexpr float to_float() const FL_NOEXCEPT { return static_cast<float>(mValue) / (static_cast<i16>(1) << FRAC_BITS); }
62

Callers 7

pnoise2dMethod · 0.45
pnoise3dMethod · 0.45
s8x8Method · 0.45
set1Method · 0.45
u16x16Function · 0.45
set1Method · 0.45
s16x16Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected