Home
last modified time | relevance | path

Searched refs:_Py_c_abs (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Include/
Dcomplexobject.h23 PyAPI_FUNC(double) _Py_c_abs(Py_complex);
/external/python/cpython2/Include/
Dcomplexobject.h22 #define c_abs _Py_c_abs
/external/python/cpython3/Objects/
Dcomplexobject.c187 _Py_c_abs(Py_complex z) in _Py_c_abs() function
597 result = _Py_c_abs(v->cval); in complex_abs()
/external/python/cpython3/Modules/
Dcmathmodule.c1035 r = _Py_c_abs(z); /* sets errno to ERANGE on overflow */ in cmath_polar_impl()
1219 diff = _Py_c_abs(_Py_c_diff(a, b)); in cmath_isclose_impl()
1221 return (((diff <= rel_tol * _Py_c_abs(b)) || in cmath_isclose_impl()
1222 (diff <= rel_tol * _Py_c_abs(a))) || in cmath_isclose_impl()