Home
last modified time | relevance | path

Searched refs:x_minus_one (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dcmathmodule.c383 double x_minus_one; in c_cosh() local
414 x_minus_one = z.real - copysign(1., z.real); in c_cosh()
415 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()
613 double x_minus_one; in c_sinh() local
643 x_minus_one = z.real - copysign(1., z.real); in c_sinh()
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()
/external/python/cpython3/Modules/
Dcmathmodule.c488 double x_minus_one; in cmath_cosh_impl() local
519 x_minus_one = z.real - copysign(1., z.real); in cmath_cosh_impl()
520 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()
725 double x_minus_one; in cmath_sinh_impl() local
755 x_minus_one = z.real - copysign(1., z.real); in cmath_sinh_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()