跳至内容

Blog

Record every day

2022 年 12 月
一 二 三 四 五 六 日
 1234
567891011
12131415161718
19202122232425
262728293031  
« 10 月   7 月 »
  • 27. 移除元素
  • 26. 删除有序数组中的重复项
  • 21. 合并两个有序链表
  • 20.有效的括号
  • Binary logarithm
  • Book
  • C
  • Computer
  • Diary
  • Leetcode
  • Mathematics
  • Python3

日期: 2022年12月15日

Binary logarithm

In mathematics, the logarithm with the base of 2 (log2n), also known as binary logarithm, is to obtain the exponent that n must be raised to the power of 2.

That is, for any real number x,

For example: log2 1 = 0,log2 2 = 1,log2 4 = 2,log2 8 = 3, log2 16 = 4, log2 32 = 5

发布于 15 12 月, 202213 8 月, 2023分类 Mathematics于Binary logarithm留下评论
网站政策 自豪地采用WordPress