Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
aa5dba02
Kaydet (Commit)
aa5dba02
authored
Ock 09, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add index entry for reference to the math module.
üst
d327a8dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
libcmath.tex
Doc/lib/libcmath.tex
+7
-7
libcmath.tex
Doc/libcmath.tex
+7
-7
No files found.
Doc/lib/libcmath.tex
Dosyayı görüntüle @
aa5dba02
...
...
@@ -82,10 +82,10 @@ The mathematical constant \emph{e}, as a real.
\end{datadesc}
Note that the selection of functions is similar, but not identical, to
that in module
\code
{
math
}
. The reason for having two modules is,
t
hat some users aren't interested in complex numbers, and perhaps
don't even know what they are. They would rather have
\code
{
math.sqrt(-1)
}
raise an exception than return a complex number. Also note that the
functions defined in
\code
{
cmath
}
always return a complex number, even
if the answer can be expressed as a real number (in which case the
complex number has an imaginary part of zero).
that in module
\code
{
math
}
\refbimodindex
{
math
}
. The reason for having
t
wo modules is, that some users aren't interested in complex numbers,
and perhaps don't even know what they are. They would rather have
\code
{
math.sqrt(-1)
}
raise an exception than return a complex number.
Also note that the functions defined in
\code
{
cmath
}
always return a
complex number, even if the answer can be expressed as a real number
(in which case the
complex number has an imaginary part of zero).
Doc/libcmath.tex
Dosyayı görüntüle @
aa5dba02
...
...
@@ -82,10 +82,10 @@ The mathematical constant \emph{e}, as a real.
\end{datadesc}
Note that the selection of functions is similar, but not identical, to
that in module
\code
{
math
}
. The reason for having two modules is,
t
hat some users aren't interested in complex numbers, and perhaps
don't even know what they are. They would rather have
\code
{
math.sqrt(-1)
}
raise an exception than return a complex number. Also note that the
functions defined in
\code
{
cmath
}
always return a complex number, even
if the answer can be expressed as a real number (in which case the
complex number has an imaginary part of zero).
that in module
\code
{
math
}
\refbimodindex
{
math
}
. The reason for having
t
wo modules is, that some users aren't interested in complex numbers,
and perhaps don't even know what they are. They would rather have
\code
{
math.sqrt(-1)
}
raise an exception than return a complex number.
Also note that the functions defined in
\code
{
cmath
}
always return a
complex number, even if the answer can be expressed as a real number
(in which case the
complex number has an imaginary part of zero).
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment