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
c762242c
Kaydet (Commit)
c762242c
authored
Tem 11, 2010
tarafından
Mark Dickinson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Include versionadded in (c)math.isfinite docs (thanks Ezio Melotti). Other minor doc cleanups.
üst
68c5de6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
cmath.rst
Doc/library/cmath.rst
+8
-5
math.rst
Doc/library/math.rst
+5
-3
No files found.
Doc/library/cmath.rst
Dosyayı görüntüle @
c762242c
...
@@ -189,19 +189,22 @@ Classification functions
...
@@ -189,19 +189,22 @@ Classification functions
.. function:: isfinite(x)
.. function:: isfinite(x)
Return ``True`` if both the real and imaginary parts of *x* are finite,
Return ``True`` if both the real and imaginary parts of *x* are finite, and
and ``False`` otherwise.
``False`` otherwise.
.. versionadded:: 3.2
.. function:: isinf(x)
.. function:: isinf(x)
Return
*True* if the real or the imaginary part of x is positive
Return
``True`` if either the real or the imaginary part of *x* is an
or negative infinity
.
infinity, and ``False`` otherwise
.
.. function:: isnan(x)
.. function:: isnan(x)
Return *True* if the real or imaginary part of x is not a number (NaN).
Return ``True`` if either the real or the imaginary part of *x* is a NaN,
and ``False`` otherwise.
Constants
Constants
...
...
Doc/library/math.rst
Dosyayı görüntüle @
c762242c
...
@@ -102,16 +102,18 @@ Number-theoretic and representation functions
...
@@ -102,16 +102,18 @@ Number-theoretic and representation functions
Return ``True`` if *x* is neither an infinity nor a NaN, and
Return ``True`` if *x* is neither an infinity nor a NaN, and
``False`` otherwise. (Note that ``0.0`` *is* considered finite.)
``False`` otherwise. (Note that ``0.0`` *is* considered finite.)
.. versionadded:: 3.2
.. function:: isinf(x)
.. function:: isinf(x)
Check if the float *x* is positive or negative infinity.
Return ``True`` if *x* is a positive or negative infinity, and
``False`` otherwise.
.. function:: isnan(x)
.. function:: isnan(x)
Check if the float *x* is a NaN (not a number). For more information
Return ``True`` if *x* is a NaN (not a number), and ``False`` otherwise.
on NaNs, see the IEEE 754 standards.
.. function:: ldexp(x, i)
.. function:: ldexp(x, i)
...
...
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