Warning, file /include/python3.12/pymath.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004 #ifndef Py_PYMATH_H
0005 #define Py_PYMATH_H
0006
0007
0008
0009
0010 #ifndef Py_MATH_PIl
0011 #define Py_MATH_PIl 3.1415926535897932384626433832795029L
0012 #endif
0013 #ifndef Py_MATH_PI
0014 #define Py_MATH_PI 3.14159265358979323846
0015 #endif
0016
0017 #ifndef Py_MATH_El
0018 #define Py_MATH_El 2.7182818284590452353602874713526625L
0019 #endif
0020
0021 #ifndef Py_MATH_E
0022 #define Py_MATH_E 2.7182818284590452354
0023 #endif
0024
0025
0026 #ifndef Py_MATH_TAU
0027 #define Py_MATH_TAU 6.2831853071795864769252867665590057683943L
0028 #endif
0029
0030
0031
0032 #define Py_IS_NAN(X) isnan(X)
0033
0034
0035
0036 #define Py_IS_INFINITY(X) isinf(X)
0037
0038
0039
0040 #define Py_IS_FINITE(X) isfinite(X)
0041
0042
0043 #ifndef Py_INFINITY
0044 # define Py_INFINITY ((double)INFINITY)
0045 #endif
0046
0047
0048
0049
0050
0051 #ifndef Py_HUGE_VAL
0052 # define Py_HUGE_VAL HUGE_VAL
0053 #endif
0054
0055
0056
0057
0058 #if !defined(Py_NAN)
0059 # define Py_NAN ((double)NAN)
0060 #endif
0061
0062 #endif