Skip to main content

cost_bits

Function cost_bits 

Source
pub fn cost_bits(bit: bool, p1: u32) -> f64
Expand description

Ideal code length in bits of coding bit at P(1) = p1 / 2^16.