Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ abs_helper_sin32
Function
abs_helper_sin32
tests/fl/math/sin32.hpp:9–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
// Helper function for absolute value of integers
8
template<typename T>
9
static T abs_helper_sin32(T value) {
10
return value < 0 ? -value : value;
11
}
12
13
FL_TEST_CASE(
"fl::sin32"
) {
14
FL_SUBCASE(
"zero angle"
) {
Callers
1
sin32.hpp
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected