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

◆ floorDivI64()

fl::i64 fl::gfx::detail::floorDivI64 ( fl::i64 a,
fl::i64 b )
inline

Floor-divide a by positive b (rounds toward -inf).

Definition at line 270 of file primitives.h.

270 {
271 fl::i64 q = a / b;
272 if ((a % b) < 0) --q;
273 return q;
274}
fl::i64 i64
Definition s16x16x4.h:222

References fl::FL_NO_EXCEPT, and floorDivI64().

Referenced by drawPolygonCore(), floorDivI64(), and polySortBand().

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