Add log2Ceil(), log2Floor() resolving #83