FastLED 3.10.10
Loading...
Searching...
No Matches

◆ floorDiv16I32()

fl::i32 fl::gfx::detail::floorDiv16I32 ( fl::i32 v)
inline

Floor(v / 65536) for i32.

An arithmetic right shift is floor division by a power of two on every target this repository builds for (gcc, clang, MSVC, avr-gcc — all define signed >> as sign-extending); the test suite pins this against floorDivI64 across the full i32 range.

Definition at line 280 of file primitives.h.

280{ return v >> 16; }

References fl::FL_NO_EXCEPT, and floorDiv16I32().

Referenced by floorDiv16I32().

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