Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dmathmodule.c1439 int odd_y; in math_pow() local
1458 odd_y = Py_IS_FINITE(y) && fmod(fabs(y), 2.0) == 1.0; in math_pow()
1460 r = odd_y ? x : fabs(x); in math_pow()
1464 r = odd_y ? copysign(0., x) : 0.; in math_pow()
/external/python/cpython3/Modules/
Dmathmodule.c2099 int odd_y; in math_pow_impl() local
2111 odd_y = Py_IS_FINITE(y) && fmod(fabs(y), 2.0) == 1.0; in math_pow_impl()
2113 r = odd_y ? x : fabs(x); in math_pow_impl()
2117 r = odd_y ? copysign(0., x) : 0.; in math_pow_impl()