Expand description

Traits for getting length base 10 as usize

This crate offers such traits as MaxLenBase10AsUsize, GetLenBase10AsUsizeViaRepeatedMultiplicationBy10, GetLenBase10AsUsize, GetLenBase10AsUsizeViaDivigingWithPowsOf2 GetLenBase10AsUsizeViaStringConversion, and TryEstimateLenBase10AsClosedUsizeIntvlViaFPLogarithm.

Example

use get_len_base_10_as_usize::MaxLenBase10AsUsize;

assert_eq!(u64::MAX_LEN_BASE_10_AS_USIZE, 20);

Sources of insipration

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Traits

Trait providing the method-namesake

Trait providing the method-namesake

Trait providing the method-namesake

Trait providing the method-namesake

Trait providing the namesake associated constant that stores maximum length of string representations of values of the type-impementer in the numeral system base 10. That length is stored as a value of type usize.

Trait providing the method-namesake