Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Delta Between Two Patch Sets: Include/pymath.h

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 7 years, 3 months ago
Right Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Include/osdefs.h ('k') | Include/pyport.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 #ifndef Py_PYMATH_H 1 #ifndef Py_PYMATH_H
2 #define Py_PYMATH_H 2 #define Py_PYMATH_H
3 3
4 #include "pyconfig.h" /* include for defines */ 4 #include "pyconfig.h" /* include for defines */
5 5
6 /************************************************************************** 6 /**************************************************************************
7 Symbols and macros to supply platform-independent interfaces to mathematical 7 Symbols and macros to supply platform-independent interfaces to mathematical
8 functions and constants 8 functions and constants
9 **************************************************************************/ 9 **************************************************************************/
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 */ 183 */
184 #if defined(__FreeBSD__) || defined(__OpenBSD__) 184 #if defined(__FreeBSD__) || defined(__OpenBSD__)
185 #define Py_OVERFLOWED(X) isinf(X) 185 #define Py_OVERFLOWED(X) isinf(X)
186 #else 186 #else
187 #define Py_OVERFLOWED(X) ((X) != 0.0 && (errno == ERANGE || \ 187 #define Py_OVERFLOWED(X) ((X) != 0.0 && (errno == ERANGE || \
188 (X) == Py_HUGE_VAL || \ 188 (X) == Py_HUGE_VAL || \
189 (X) == -Py_HUGE_VAL)) 189 (X) == -Py_HUGE_VAL))
190 #endif 190 #endif
191 191
192 #endif /* Py_PYMATH_H */ 192 #endif /* Py_PYMATH_H */
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+