log2 static method

double log2(
  1. num x
)

Implementation

static double log2(num x) {
  return log(x) / ln2;
}