log2() & bsd