Skip to main content

pow2_at_least

Function pow2_at_least 

Source
pub fn pow2_at_least(val: f64) -> f64
Expand description

Compute the smallest power of two >= val (clamped to >= 1.0), matching the pow2_at_least helper from SamsungLabs/LittleBit Issue #24.