mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
#12211: remove paragraph about NaNs
This commit is contained in:
parent
8cb1ec3274
commit
3137885c36
2 changed files with 1 additions and 6 deletions
|
@ -40,9 +40,6 @@ Number-theoretic and representation functions
|
|||
*y*. On platforms that support signed zeros, ``copysign(1.0, -0.0)``
|
||||
returns *-1.0*.
|
||||
|
||||
If *x* is NaN, *y* is ignored and NaN is returned. If *y* is NaN,
|
||||
it is treated as positive: ``copysign(-1.0, NaN)`` returns 1.0.
|
||||
|
||||
.. function:: fabs(x)
|
||||
|
||||
Return the absolute value of *x*.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue