gh-141004: Deprecate Py_MATH_El and Py_MATH_PIl macros (#141035)

Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
Sergey B Kirpichev 2025-11-10 18:36:01 +03:00 committed by GitHub
parent 55ea132313
commit 88953d5deb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 23 additions and 0 deletions

View file

@ -7,6 +7,7 @@
/* High precision definition of pi and e (Euler)
* The values are taken from libc6's math.h.
*/
// Deprecated since Python 3.15.
#ifndef Py_MATH_PIl
#define Py_MATH_PIl 3.1415926535897932384626433832795029L
#endif
@ -14,6 +15,7 @@
#define Py_MATH_PI 3.14159265358979323846
#endif
// Deprecated since Python 3.15.
#ifndef Py_MATH_El
#define Py_MATH_El 2.7182818284590452353602874713526625L
#endif