log2 constructor

const log2(
  1. num d
)

Calculate 2-based log value.

Implementation

const factory log2(num d) = ConstMath.log2;