Home
last modified time | relevance | path

Searched refs:Py_MATH_E (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Include/
Dpymath.h21 #ifndef Py_MATH_E
22 #define Py_MATH_E 2.7182818284590452354 macro
/external/python/cpython3/Modules/
Dcmathmodule.c480 r.real = cos(z.imag) * cosh(x_minus_one) * Py_MATH_E; in cmath_cosh_impl()
481 r.imag = sin(z.imag) * sinh(x_minus_one) * Py_MATH_E; in cmath_cosh_impl()
541 r.real = l*cos(z.imag)*Py_MATH_E; in cmath_exp_impl()
542 r.imag = l*sin(z.imag)*Py_MATH_E; in cmath_exp_impl()
716 r.real = cos(z.imag) * sinh(x_minus_one) * Py_MATH_E; in cmath_sinh_impl()
717 r.imag = sin(z.imag) * cosh(x_minus_one) * Py_MATH_E; in cmath_sinh_impl()
1223 if (PyModule_Add(mod, "e", PyFloat_FromDouble(Py_MATH_E)) < 0) { in cmath_exec()
Dmathmodule.c4093 if (PyModule_Add(module, "e", PyFloat_FromDouble(Py_MATH_E)) < 0) { in math_exec()