| 326 | // Returns value with bit set in lowest one-bit position or 0 if 0. (java.lang.X.lowestOneBit). |
| 327 | template <typename kind> |
| 328 | inline static kind LowestOneBitValue(kind opnd) { |
| 329 | // Hacker's Delight, Section 2-1 |
| 330 | return opnd & -opnd; |
| 331 | } |
| 332 | |
| 333 | // Returns value with bit set in hightest one-bit position or 0 if 0. (java.lang.X.highestOneBit). |
| 334 | template <typename T> |
nothing calls this directly
no outgoing calls
no test coverage detected