| 1056 | |
| 1057 | |
| 1058 | int Int::GetBit(uint32_t n) { |
| 1059 | uint32_t byte = n>>5; |
| 1060 | uint32_t bit = n&31; |
| 1061 | uint32_t mask = 1 << bit; |
| 1062 | return (bits[byte] & mask)!=0; |
| 1063 | } |
| 1064 | |
| 1065 | // ------------------------------------------------ |
| 1066 | char* Int::GetBase2() { |
no outgoing calls
no test coverage detected