| 679 | // ------------------------------------------------ |
| 680 | |
| 681 | static uint32_t bitLength(uint32_t dw) { |
| 682 | |
| 683 | uint32_t mask = 0x80000000; |
| 684 | uint32_t b=0; |
| 685 | while(b<32 && (mask & dw)==0) { |
| 686 | b++; |
| 687 | mask >>= 1; |
| 688 | } |
| 689 | return b; |
| 690 | |
| 691 | } |
| 692 | |
| 693 | // ------------------------------------------------ |
| 694 |
no outgoing calls
no test coverage detected