ldexp function

double ldexp(
  1. double x,
  2. int n
)

Implementation

double ldexp(double x, int n) => x * math.pow(2.0, n).toDouble();