get_len_base_10_as_usize

Crates.ioget_len_base_10_as_usize
lib.rsget_len_base_10_as_usize
version0.1.6
sourcesrc
created_at2022-01-16 23:43:17.149052
updated_at2022-02-04 18:14:34.899988
descriptionTraits for getting length base 10 as usize, both at run and compile time
homepage
repositoryhttps://github.com/JohnScience/get_len_base_10_as_usize
max_upload_size
id515207
size29,212
Dmitrii - Demenev (JohnScience)

documentation

https://docs.rs/get_len_base_10_as_usize

README

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.
Commit count: 16

cargo fmt