Skip to main content

Module radix

Module radix 

Source
Expand description

整数と任意基数の桁列を相互変換します。

Functions§

from_digits
通常の base 進数の桁列を usize へ変換します。
to_bijective_digits
正の value を bijective base-base(桁に 0 を使わない表記)の桁列へ変換します。
to_digits
非負整数 value を通常の base 進数の桁列へ変換します。