File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,9 +297,9 @@ Constants
297297 :exc: `ValueError ` for invalid operations like ``sqrt(-1.0) `` or ``log(0.0) ``
298298 (where C99 Annex F recommends signaling invalid operation or divide-by-zero),
299299 and :exc: `OverflowError ` for results that overflow (for example,
300- ``exp(1000.0) ``). A * NaN * will not be returned from any of the functions
301- above unless one or more of the input arguments was a * NaN * ; in that case,
302- most functions will return a * NaN * , but (again following C99 Annex F) there
300+ ``exp(1000.0) ``). A NaN will not be returned from any of the functions
301+ above unless one or more of the input arguments was a NaN; in that case,
302+ most functions will return a NaN, but (again following C99 Annex F) there
303303 are some exceptions to this rule, for example ``pow(float('nan'), 0.0) `` or
304304 ``hypot(float('nan'), float('inf')) ``.
305305
You can’t perform that action at this time.
0 commit comments