log2 method

double log2(
  1. num value
)
inherited

Computes the base-2 logarithm of a real number.

Implementation

double log2(num value) => log(value) / log(2);