pub fn new_compressed_params(
base: f64,
max_exp: usize,
) -> Option<CompressedParams>
Expand description
checks parameters for validity and if so creates a new CompressedParams
struct
For CompressedParams
, the base must be greater than 1.0, and the max_exp must be
nonzero.