Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ cos16
Function
cos16
src/platforms/trig8.h:45–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
44
inline i16 sin16(u16 theta) { return fl::sin16lut(theta); }
45
inline i16 cos16(u16 theta) { return fl::cos16lut(theta); }
46
47
// 8-bit wrappers derived from 16-bit LUTs.
48
// sin16 returns i16 [-32768..32767], offset to u16 [0..65535],
Callers
1
transform
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected