FastLED
3.9.15
Loading...
Searching...
No Matches
◆
promote_fp()
template<int IntBits, int FracBits,
Sign
S>
template<int OtherFrac, typename OtherRawType>
static
constexpr
RawType
fl::fixed_point
< IntBits, FracBits, S >::promote_fp
(
OtherRawType
other_raw
)
inline
static
constexpr
private
Definition at line
139
of file
fixed_point.h
.
139
{
140
return
static_cast<
RawType
>
(
141
static_cast<
PromotionType
>
(
other_raw
) << (
FracBits
-
OtherFrac
));
142
}
fl::fixed_point::RawType
decltype(Base().raw()) RawType
Definition
fixed_point.h:132
fl::fixed_point::PromotionType
typename conditional<(S==Sign::SIGNED), i64, u64 >::type PromotionType
Definition
fixed_point.h:135
fl::fixed_point
Definition
fixed_point.h:129
fl
fixed_point
Generated on Tue Jun 16 2026 00:07:05 for FastLED by
1.13.2