mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
The fpectl module does not work on Windows, so remove Windows from the
\platform statement. Also fix a minor style consistency nit in an example.
This commit is contained in:
parent
a939911345
commit
bcd1df746d
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
Floating point exception control}
|
||||
|
||||
\declaremodule{extension}{fpectl}
|
||||
\platform{Unix, Windows}
|
||||
\platform{Unix}
|
||||
\moduleauthor{Lee Busby}{busby1@llnl.gov}
|
||||
\sectionauthor{Lee Busby}{busby1@llnl.gov}
|
||||
\modulesynopsis{Provide control for floating point exception handling.}
|
||||
|
@ -18,7 +18,7 @@ For example, try
|
|||
>>> import math
|
||||
>>> math.exp(1000)
|
||||
inf
|
||||
>>> math.exp(1000)/math.exp(1000)
|
||||
>>> math.exp(1000) / math.exp(1000)
|
||||
nan
|
||||
\end{verbatim}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue