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());
}