static int hiBitPos(long num){
  return 63 - Long.numberOfLeadingZeros(num);
}

static int hiBitPos ( long num ) { return 63 - Long . numberOfLeadingZeros ( num ) ; }
zero based position of the highest one - bit of the given long . returns minus one if num is zero .
