ceilPowerOfTwo<T extends num> static method
Implementation
static num ceilPowerOfTwo<T extends num>(T value) {
return Math.pow(2, Math.ceil(Math.log(value) / Math.ln2).toDouble());
}
static num ceilPowerOfTwo<T extends num>(T value) {
return Math.pow(2, Math.ceil(Math.log(value) / Math.ln2).toDouble());
}