[][src]Function dqcsim::common::util::log_2

pub fn log_2(x: usize) -> Option<usize>

Returns the log2 for a usize as an Option.