granite-rust/library/core
Matthias Krüger 731af70217
Rollup merge of - scottmcm:nonzero-log2, r=dtolnay
Add `log2` and `log10` to `NonZeroU*`

This version is nice in that it doesn't need to worry about zeros, and thus doesn't have any error cases.

cc `int_log` tracking issue 

(I didn't add them to `NonZeroI*` despite it being on `i*` since allowing negatives bring back the error cases again.)
2022-01-17 20:07:09 +01:00
..
benches Auto merge of - falk-hueffner:speedup-int-log10-branchless, r=joshtriplett 2021-10-12 03:18:54 +00:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of - scottmcm:nonzero-log2, r=dtolnay 2022-01-17 20:07:09 +01:00
tests Rollup merge of - swenson:bignum-bit-length-optimization, r=scottmcm 2022-01-15 11:28:22 +01:00
Cargo.toml Switch all libraries to the 2021 edition 2021-12-23 19:03:47 +08:00