Kaydet (Commit) 44aa9f71 authored tarafından Kristján Valur Jónsson's avatar Kristján Valur Jónsson

Fix incorrect documentation for the Py_IS_FINITE(X) macro.

üst cc1ecf4d
......@@ -295,9 +295,9 @@ extern "C" {
#define Py_IS_INFINITY(X) ((X) && (X)*0.5 == (X))
#endif
/* Py_IS_INFINITY(X)
* Return 1 if float or double arg is an infinity, else 0.
* Some architectures (Windows) have intrinsics for this, so a special
/* Py_IS_FINITE(X)
* Return 1 if float or double arg is neither infinite nor NAN, else 0.
* Some compilers (e.g. VisualStudio) have intrisics for this, so a special
* macro for this particular test is useful
*/
#ifndef Py_IS_FINITE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment