File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ \section{Built-in Module \sectcode{cmath}}
5252Note that the selection of functions is similar, but not identical, to
5353that in module \code {math}. The reason for having two modules is,
5454that some users aren't interested in complex numbers, and perhaps
55- don't even know what they are. They would rather have \code {math(-1)}
55+ don't even know what they are. They would rather have \code {math.sqrt (-1)}
5656raise an exception than return a complex number. Also note that the
5757functions defined in \code {cmath} always return a complex number, even
5858if the answer can be expressed as a real number (in which case the
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ \section{Built-in Module \sectcode{cmath}}
5252Note that the selection of functions is similar, but not identical, to
5353that in module \code {math}. The reason for having two modules is,
5454that some users aren't interested in complex numbers, and perhaps
55- don't even know what they are. They would rather have \code {math(-1)}
55+ don't even know what they are. They would rather have \code {math.sqrt (-1)}
5656raise an exception than return a complex number. Also note that the
5757functions defined in \code {cmath} always return a complex number, even
5858if the answer can be expressed as a real number (in which case the
You can’t perform that action at this time.
0 commit comments