| 155 | |
| 156 | #if defined(_MSC_VER) |
| 157 | __forceinline uint32_t das_clz(uint32_t x) { |
| 158 | unsigned long r = 0; |
| 159 | _BitScanReverse(&r, x); |
| 160 | return uint32_t(31 - r); |
| 161 | } |
| 162 | __forceinline uint32_t das_ctz(uint32_t x) { |
| 163 | unsigned long r = 0; |
| 164 | _BitScanForward(&r, x); |
no outgoing calls
no test coverage detected