diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-09-23 19:11:32 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-09-23 19:11:32 (GMT) |
commit | 862f0593d8e8c7cd510b598296c73b25168d0472 (patch) | |
tree | b08e666ab49cab220687ec84959a37301dc076ae /Misc | |
parent | 307fa78107c39ffda1eb4ad18201d25650354c4e (diff) | |
download | cpython-862f0593d8e8c7cd510b598296c73b25168d0472.zip cpython-862f0593d8e8c7cd510b598296c73b25168d0472.tar.gz cpython-862f0593d8e8c7cd510b598296c73b25168d0472.tar.bz2 |
Introduced a Py_IS_NAN macro, which probably works on the major platforms
today. pyconfig.h can override it if not, and can also override
Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now
for Microsoft compilers, using efficient MS-specific spellings.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -74,7 +74,11 @@ Library Build ----- -... +- pyport.h now defines a Py_IS_NAN macro. It works as-is when the + platform C computes true for ``x != x`` if and only if X is a NaN. + Other platforms can override the default definition with a platform- + specific spelling in that platform's pyconfig.h. You can also override + pyport.h's default Py_IS_INFINITY definition now. C API ----- |