Expand description
Simple library that provide numeric utility used in Gate Project.
Functionsยง
- calc_
log_ bits - Calculate
ceil(log(N)). It return system sized unsigned result. - calc_
log_ bits_ u32 - Calculate
ceil(log(N)). It return 32-bit unsigned result. - calc_
log_ bits_ u64 - Calculate
ceil(log(N)). It return system sized unsigned result. - calc_
log_ bits_ u128 - Calculate
ceil(log(N)). It return system sized unsigned result.