FastLED
3.9.15
Loading...
Searching...
No Matches
◆
sign()
[2/2]
template<typename Derived, int IntBits, int FracBits>
static
constexpr
FASTLED_FORCE_INLINE
int
fl::fixed_point_base
< Derived, IntBits, FracBits >::sign
(
Derived
x
)
inline
static
constexpr
Definition at line
139
of file
base.h
.
139
{
140
return
x
.
mValue
> 0 ? 1 : (
x
.
mValue
< 0 ? -1 : 0);
141
}
fl::fixed_point_base::mValue
raw_type mValue
Definition
base.h:41
fl::fixed_point_base
Definition
base.h:28
References
FASTLED_FORCE_INLINE
, and
fl::x
.
fl
fixed_point_base
Generated on Tue Jun 16 2026 00:07:05 for FastLED by
1.13.2