As discussed in Chapter 7, square roots and other non-integer powers have multiple values. The definition of the imaginary unit is often written as $i = \sqrt{-1}$, but this is misleading. Actually, $\sqrt{-1}$ has two legitimate values; one of these values is (by definition) $i$, while the other value is $-i$.
Consider the upper choice of sign (i.e., $+$ for the $\pm$ symbol and $-$ for the $\mp$ symbol). From the magnitude, we see that the wave's amplitude decreases with $x$ if $n'' > 0$, and increases with $x$ if $n'' < 0$. From the argument, the wave is right-moving if $n' >0$, and left-moving if $n' < 0$. Hence, the wave is damped if $n' n'' >0$ and amplified if $n' n'' < 0$.
(For example, consider the case $n' < 0$ and $n'' < 0$. The amplitude increases with $x$ but the wave is moving in the $-x$ direction; this means the amplitude grows in the direction opposite to the propagation direction, so the wave is damped.)
For the lower choice of sign, we see from the magnitdue that the amplitude increases with $x$ if $n'' > 0$, and decreases with $x$ if $n'' < 0$. From the argument, we see that the wave is left-moving if $n' >0$ and right-moving if $n' < 0$. Hence, the wave is damped if $n' n'' >0$ and amplified if $n' n'' < 0$, exactly the same as in the previous case.
Hence, whether the wave is amplified or damped only depends on the relative signs of $n'$ and $n''$, and is independent of the direction of propagation.
For $z \rightarrow 0$, we have $r \rightarrow 0$ and hence $\ln(r)\rightarrow -\infty$. This implies that $w_n$ lies infinitely far to the left of the origin on the complex plane. Therefore, $w_n \rightarrow \infty$ (referring to the complex infinity) regardless of the value of $n$. Likewise, for $z \rightarrow \infty$, we have $r \rightarrow \infty$ and hence $\ln(r)\rightarrow +\infty$. This implies that $w_n$ lies infinitely far to the right of the origin on the complex plane, so $w_n \rightarrow \infty$ regardless of the value of $n$. Therefore, $0$ and $\infty$ are both branch points of the complex logarithm.