returns index of highest bit, or -1 if value is zero or negative
(value)
| 1667 | |
| 1668 | |
| 1669 | def _high_bit(value): |
| 1670 | """ |
| 1671 | returns index of highest bit, or -1 if value is zero or negative |
| 1672 | """ |
| 1673 | return value.bit_length() - 1 |
| 1674 | |
| 1675 | def unique(enumeration): |
| 1676 | """ |
no test coverage detected
searching dependent graphs…