The idea is to use the Math.log() method to find the natural logarithm of a number and then use above logarithmic identity to derive log2(x).
確定! 回上一頁