\newchapter{Logarithms}
\label{Logarithms}

\leveldown{}

\input{log/intro}
\input{log/scale}
\input{log/mul_by_add}
\input{log/pow}
\input{log/sqrt}
\input{log/conv}
\input{log/binary}
\input{log/common}
\input{log/print}
\input{log/natural}
% TODO \section{Cheat sheet}

\myheading{Negative logarithm}

By convention, negative logarithm is...

\begin{lstlisting}[caption=Wolfram Mathematica]
In[1]:= Log[2,1/2]
Out[1]= -1
In[2]:= Log[2,1/16]
Out[2]= -4
\end{lstlisting}

That corresponds to...

\begin{lstlisting}[caption=Wolfram Mathematica]
In[3]:= 2^(-4)
Out[3]= 1/16
\end{lstlisting}

\levelup{}

