log2 static method

double log2(
  1. num x
)

Implementation

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