Log2: Difference between revisions

Sintel (talk | contribs)
Categories
ArrowHead294 (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The symbols '''log2''', '''lb''' or '''ld''' are used for the '''[[Wikipedia: Binary logarithm|binary logarithm]]''', also called '''dual logarithm''' or '''logarithm base two'''.
{{Wikipedia| Binary logarithm }}
The symbols '''log2''', '''lb''', or '''ld''' are used for the '''binary logarithm''', also called '''dual logarithm''' or '''logarithm base two'''.{{clear}}


== Log2 of the first primes ==
== Log2 of the first primes ==
{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! [[Prime]]
! [[Prime]]
! Log2 Prime
! Log2 prime
|-
|-
| 2
| 2
Line 38: Line 39:
|}
|}


You can calculate the binary logarithm of n like this:
You can calculate the binary logarithm of ''n'' using the identity:  


log2(n) = ln(n)/ln(2)
$$ \log_2(n) = \ln(n) / \ln(2) $$


[[Category:Math]]
[[Category:Math]]
Line 46: Line 47:
[[Category:Terms]]
[[Category:Terms]]


{{todo| improve synopsis }}
{{Todo| improve synopsis }}