Skip to content

Commit b1f17ea

Browse files
committed
[complex] Clarify the range of return values of log
1 parent 176ac16 commit b1f17ea

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

source/numerics.tex

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@
11191119
\begin{itemdescr}
11201120
\pnum
11211121
\returns
1122-
The complex base e exponential of \tcode{x}.
1122+
The complex base-$e$ exponential of \tcode{x}.
11231123
\end{itemdescr}
11241124

11251125
\indexlibrary{\idxcode{log}!\idxcode{complex}}%
@@ -1134,14 +1134,9 @@
11341134

11351135
\pnum
11361136
\returns
1137-
The complex natural (base e) logarithm of \tcode{x},
1138-
in the range of a strip mathematically unbounded along the
1139-
real axis and in the interval \crange{-i times pi}{i times pi}
1140-
along the imaginary axis.
1141-
When \tcode{x} is a negative real
1142-
number,
1143-
\tcode{imag(log(x))}
1144-
is pi.
1137+
The complex natural (base-$e$) logarithm of \tcode{x}. For all \tcode{x},
1138+
\tcode{imag(log(x))} lies in the interval \crange{$-\pi$}{$\pi$}, and
1139+
when \tcode{x} is a negative real number, \tcode{imag(log(x))} is $\pi$.
11451140
\end{itemdescr}
11461141

11471142
\indexlibrary{\idxcode{log10}!\idxcode{complex}}%
@@ -1156,8 +1151,8 @@
11561151

11571152
\pnum
11581153
\returns
1159-
The complex common (base 10) logarithm of \tcode{x}, defined as
1160-
\tcode{log(x)/log(10)}.
1154+
The complex common (base-$10$) logarithm of \tcode{x}, defined as
1155+
\tcode{log(x) / log(10)}.
11611156
\end{itemdescr}
11621157

11631158
\indexlibrary{\idxcode{pow}!\idxcode{complex}}%

0 commit comments

Comments
 (0)