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
f91c70a7
Kaydet (Commit)
f91c70a7
authored
Haz 20, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Change references to the new math functions to generate proper x-refs.
üst
2fcd8c97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
2.6.rst
Doc/whatsnew/2.6.rst
+10
-11
No files found.
Doc/whatsnew/2.6.rst
Dosyayı görüntüle @
f91c70a7
...
@@ -1350,29 +1350,28 @@ Here are all of the changes that Python 2.6 makes to the core Python language.
...
@@ -1350,29 +1350,28 @@ Here are all of the changes that Python 2.6 makes to the core Python language.
floating-point exceptions and IEEE 754 special values.
floating-point exceptions and IEEE 754 special values.
The new functions are:
The new functions are:
* :func:`isinf` and :func:`isnan` determine whether a given float is
* :func:`~math.isinf` and :func:`~math.isnan` determine whether a given float
a (positive or negative) infinity or a NaN (Not a Number),
is a (positive or negative) infinity or a NaN (Not a Number), respectively.
respectively.
*
``copysign(x, y)`
` copies the sign bit of an IEEE 754 number,
*
:func:`~math.copysign
` copies the sign bit of an IEEE 754 number,
returning the absolute value of *x* combined with the sign bit of
returning the absolute value of *x* combined with the sign bit of
*y*. For example, ``math.copysign(1, -0.0)`` returns -1.0.
*y*. For example, ``math.copysign(1, -0.0)`` returns -1.0.
(Contributed by Christian Heimes.)
(Contributed by Christian Heimes.)
* :func:`factorial` computes the factorial of a number.
* :func:`
~math.
factorial` computes the factorial of a number.
(Contributed by Raymond Hettinger; :issue:`2138`.)
(Contributed by Raymond Hettinger; :issue:`2138`.)
* :func:`sum` adds up the stream of numbers from an iterable,
* :func:`
~math.
sum` adds up the stream of numbers from an iterable,
and is careful to avoid loss of precision by calculating partial sums.
and is careful to avoid loss of precision by calculating partial sums.
(Contributed by Jean Brouwers; :issue:`2819`.)
(Contributed by Jean Brouwers; :issue:`2819`.)
* The inverse hyperbolic functions :func:`
acosh`, :func:`asinh` and
* The inverse hyperbolic functions :func:`
~math.acosh`, :func:`~math.asinh`
:func:`
atanh`.
and :func:`~math.
atanh`.
* The function :func:`
log1p`, returning the natural logarithm of
* The function :func:`
~math.log1p`, returning the natural logarithm of *1+x*
*1+x*
(base *e*).
(base *e*).
There's also a new :func:`trunc` function as a result of the
There's also a new :func:`trunc`
built-in
function as a result of the
backport of `PEP 3141's type hierarchy for numbers <#pep-3141>`__.
backport of `PEP 3141's type hierarchy for numbers <#pep-3141>`__.
The existing math functions have been modified to follow the
The existing math functions have been modified to follow the
...
...
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