FastLED
3.9.15
Loading...
Searching...
No Matches
◆
ceil()
[2/2]
template<typename Derived, int IntBits, int FracBits>
static
constexpr
FASTLED_FORCE_INLINE
Derived
fl::fixed_point_base
< Derived, IntBits, FracBits >::ceil
(
Derived
x
)
inline
static
constexpr
Definition at line
126
of file
base.h
.
126
{
127
return
Derived::from_raw
((
x
.
mValue
& ~(
raw_type
((
Derived::SCALE
) - 1))) +
128
((
x
.
mValue
&
raw_type
((
Derived::SCALE
) - 1)) ? (
Derived::SCALE
) : 0));
129
}
fl::fixed_point_base::raw_type
typename traits::raw_type raw_type
Definition
base.h:31
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