Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ s16x16
Function
s16x16
src/fl/math/fixed_point/s16x16.h:27–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
// ---- Construction ------------------------------------------------------
26
27
constexpr s16x16() FL_NOEXCEPT = default;
28
29
explicit constexpr s16x16(float f) FL_NOEXCEPT
30
: mValue(static_cast<i32>(f * (SCALE))) {}
Callers
2
s16x16.h
File · 0.70
lerp
Function · 0.70
Calls
1
raw
Method · 0.45
Tested by
no test coverage detected