LOG_UPTO function

int LOG_UPTO(
  1. int pri
)

Implementation

int LOG_UPTO(int pri) => (1 << (pri + 1)) - 1;