You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 2023-08-13 @prestwich wrote in 55c5411 “Merge pull request #293 from recmo/remco/base-to”:
Internalize this trick so the user won't have to worry about it.
Panics
Panics if the base is less than 2.
/// little-endian order.////// Pro tip: instead of setting `base = 10`, set it to the highest/// power of `10` that still fits `u64`. This way much fewer iterations/// are required to extract all the digits.// OPT: Internalize this trick so the user won't have to worry about it./// # Panics////// Panics if the base is less than 2.#[inline]pubfn to_base_le(&self,base:u64) -> implIterator<Item = u64>{assert!(base > 1);SpigotLittle{
base,
github-actionsbot
changed the title
base_convert:Find an allocation free method. Maybe extract from the top?base_convert: Find an allocation free method. Maybe extract from the top?
May 28, 2022
github-actionsbot
changed the title
base_convert: Find an allocation free method. Maybe extract from the top?base_convert: Internalize this trick so the user won't have to worry about it.
Aug 13, 2023
On 2023-08-13 @prestwich wrote in
55c5411
“Merge pull request #293 from recmo/remco/base-to”:Internalize this trick so the user won't have to worry about it.
Panics
Panics if the base is less than 2.
From
src/base_convert.rs:46
The text was updated successfully, but these errors were encountered: