14 fl::u32 un = (fl::u32)n;
16 fl::u32 bit = 1u << 30;
17 while (bit > un) bit >>= 2;
21 if (un >=
t) { un -=
t;
result += bit; }
32 fl::u32
x = (fl::u32)n;
34 for (
int i = 0; i < 8; ++i) {
fl::i32 isqrt32_ceil(fl::i32 n)
Integer square root using Newton iteration Computes ceil(sqrt(n)) for positive integers More accurate...
fl::i32 isqrt32_floor(fl::i32 n)
Integer square root using digit-by-digit algorithm Computes floor(sqrt(n)) for positive integers Uses...
============================================================================
expected< T, E > result
Alias for expected (Rust-style naming)
Base definition for an LED controller.