Base2Exponent
import type { Base2Exponent } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";
Exponential buckets where the growth factor between buckets is
2**(2**-scale)
. e.g. for scale=1
growth factor is 2**(2**(-1))=sqrt(2)
.
n
buckets will have the following boundaries. - 0th: [0, gf) - i in [1,
n-1]: [gf^(i), gf^(i+1))
interface Base2Exponent {
numberOfBuckets?: number;
scale?: number;
}