[][src]Trait algebraics::traits::CeilLog2

pub trait CeilLog2: Integer {
    fn ceil_log2(&self) -> Option<usize>;
}

Required methods

fn ceil_log2(&self) -> Option<usize>

returns ceil(log2(self)) if self is positive returns None for zero or negative

Loading content...

Implementations on Foreign Types

impl CeilLog2 for u8[src]

impl CeilLog2 for u16[src]

impl CeilLog2 for u32[src]

impl CeilLog2 for u64[src]

impl CeilLog2 for u128[src]

impl CeilLog2 for usize[src]

impl CeilLog2 for i8[src]

impl CeilLog2 for i16[src]

impl CeilLog2 for i32[src]

impl CeilLog2 for i64[src]

impl CeilLog2 for i128[src]

impl CeilLog2 for isize[src]

impl CeilLog2 for BigUint[src]

impl CeilLog2 for BigInt[src]

Loading content...

Implementors

Loading content...