pwr2_to_exponent

Function pwr2_to_exponent 

Source
fn pwr2_to_exponent(num: u128) -> String
Expand description

Formats a power of two as an exponent of two, i.e. 16 => ⁴. Note that num MUST be a power of 2, or this function will panic.