FastLED 3.9.15
Loading...
Searching...
No Matches

◆ mul_hi_u64()

fl::u64 fl::anonymous_namespace{ieee754_string.cpp.hpp}::mul_hi_u64 ( fl::u64 a,
fl::u64 b )
inline

Definition at line 242 of file ieee754_string.cpp.hpp.

242 {
243 const fl::u64 ah = a >> 32;
244 const fl::u64 al = a & 0xFFFFFFFFull;
245 const fl::u64 bh = b >> 32;
246 const fl::u64 bl = b & 0xFFFFFFFFull;
247 const fl::u64 ll = al * bl;
248 const fl::u64 hl = ah * bl;
249 const fl::u64 lh = al * bh;
250 const fl::u64 hh = ah * bh;
251 const fl::u64 mid = (ll >> 32) + (hl & 0xFFFFFFFFull) + (lh & 0xFFFFFFFFull);
252 return hh + (hl >> 32) + (lh >> 32) + (mid >> 32);
253}
fl::u64 u64
Definition s16x16x4.h:221

References FL_NOEXCEPT, and mul_hi_u64().

Referenced by mul_hi_u64().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: