Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dpymath.h60 #ifndef Py_MATH_E
61 #define Py_MATH_E 2.7182818284590452354 macro
/external/python/cpython3/Include/
Dpymath.h54 #ifndef Py_MATH_E
55 #define Py_MATH_E 2.7182818284590452354 macro
/external/python/cpython2/Modules/
Dcmathmodule.c415 r.real = cos(z.imag) * cosh(x_minus_one) * Py_MATH_E; in c_cosh()
416 r.imag = sin(z.imag) * sinh(x_minus_one) * Py_MATH_E; in c_cosh()
474 r.real = l*cos(z.imag)*Py_MATH_E; in c_exp()
475 r.imag = l*sin(z.imag)*Py_MATH_E; in c_exp()
644 r.real = cos(z.imag) * sinh(x_minus_one) * Py_MATH_E; in c_sinh()
645 r.imag = sin(z.imag) * cosh(x_minus_one) * Py_MATH_E; in c_sinh()
1102 PyModule_AddObject(m, "e", PyFloat_FromDouble(Py_MATH_E)); in initcmath()
Dmathmodule.c1629 PyModule_AddObject(m, "e", PyFloat_FromDouble(Py_MATH_E)); in initmath()
/external/python/cpython3/Modules/
Dcmathmodule.c520 r.real = cos(z.imag) * cosh(x_minus_one) * Py_MATH_E; in cmath_cosh_impl()
521 r.imag = sin(z.imag) * sinh(x_minus_one) * Py_MATH_E; in cmath_cosh_impl()
581 r.real = l*cos(z.imag)*Py_MATH_E; in cmath_exp_impl()
582 r.imag = l*sin(z.imag)*Py_MATH_E; in cmath_exp_impl()
756 r.real = cos(z.imag) * sinh(x_minus_one) * Py_MATH_E; in cmath_sinh_impl()
757 r.imag = sin(z.imag) * cosh(x_minus_one) * Py_MATH_E; in cmath_sinh_impl()
1289 PyModule_AddObject(m, "e", PyFloat_FromDouble(Py_MATH_E)); in PyInit_cmath()
Dmathmodule.c2400 PyModule_AddObject(m, "e", PyFloat_FromDouble(Py_MATH_E)); in PyInit_math()