bitFloor property
int
bitFloor
Returns the power of 2 that is smaller or equal to this unsigned 32-bit integer.
Implementation
int get bitFloor => this <= 0 ? 0 : 1 << (bitLength - 1);
Returns the power of 2 that is smaller or equal to this unsigned 32-bit integer.
int get bitFloor => this <= 0 ? 0 : 1 << (bitLength - 1);