Go to the source code of this file.
|
| namespace | fl |
| | Base definition for an LED controller.
|
| |
| namespace | fl::gfx |
| |
| namespace | fl::gfx::detail |
| | ============================================================================
|
| |
|
| fl::i32 | fl::gfx::detail::isqrt32_ceil (fl::i32 n) |
| | Integer square root using Newton iteration Computes ceil(sqrt(n)) for positive integers More accurate than digit-by-digit for the ceiling case.
|
| |
| fl::i32 | fl::gfx::detail::isqrt32_floor (fl::i32 n) |
| | Integer square root using digit-by-digit algorithm Computes floor(sqrt(n)) for positive integers Uses only shifts, adds, and comparisons — no division.
|
| |