🌈 搜索
📅  最后修改于: 2022-03-11 14:52:38.888000             🧑  作者: Mango
public static int log2(int x) { return (int) (Math.log(x) / Math.log(2)); }