## Author: nuark ## Created: 2019-12-08 function r = min_bits(N) r = ceil(log2(N)); endfunction