//! Small internal helpers shared across modules.
/// Whether `value` is a power of two. Zero is not a power of two.
pub
/// The smallest power of two greater than or equal to `value`.
///
/// Returns 1 for an input of 0. The caller must keep `value` below the largest
/// representable power of two, since the result would otherwise overflow.
pub