[Python-checkins] r59677 - python/trunk/Include/pyport.h
christian.heimes
python-checkins at python.org
Thu Jan 3 22:14:48 CET 2008
Author: christian.heimes
Date: Thu Jan 3 22:14:48 2008
New Revision: 59677
Modified:
python/trunk/Include/pyport.h
Log:
Some build bots don't compile mathmodule. There is an issue with the long definition of pi and euler
Modified: python/trunk/Include/pyport.h
==============================================================================
--- python/trunk/Include/pyport.h (original)
+++ python/trunk/Include/pyport.h Thu Jan 3 22:14:48 2008
@@ -352,12 +352,19 @@
/* High precision defintion of pi and e (Euler)
* The values are taken from libc6's math.h.
*/
+#ifndef Py_MATH_PIl
+#define Py_MATH_PIl 3.1415926535897932384626433832795029L
+#endif
#ifndef Py_MATH_PI
-#define Py_MATH_PI 3.1415926535897932384626433832795029L
+#define Py_MATH_PI 3.14159265358979323846
+#endif
+
+#ifndef Py_MATH_El
+#define Py_MATH_El 2.7182818284590452353602874713526625L
#endif
#ifndef Py_MATH_E
-#define Py_MATH_E 2.7182818284590452353602874713526625L
+#define Py_MATH_E 2.7182818284590452354
#endif
/* Py_IS_NAN(X)
More information about the Python-checkins
mailing list