returns index of highest bit, or -1 if value is zero or negative
(value)
| 1636 | |
| 1637 | |
| 1638 | def _high_bit(value): |
| 1639 | """ |
| 1640 | returns index of highest bit, or -1 if value is zero or negative |
| 1641 | """ |
| 1642 | return value.bit_length() - 1 |
| 1643 | |
| 1644 | def unique(enumeration): |
| 1645 | """ |
no test coverage detected