Home
last modified time | relevance | path

Searched refs:phi (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DComplex.py82 def PolarToComplex(r = 0, phi = 0, fullcircle = twopi): argument
83 phi = phi * (twopi / fullcircle)
84 return Complex(math.cos(phi)*r, math.sin(phi)*r)
176 phi = angle variable in Complex
219 phi = n*self.angle()
220 return Complex(math.cos(phi)*r, math.sin(phi)*r)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dcmathmodule.c920 double phi; in FUNC1() local
925 phi = c_atan2(z); in FUNC1()
926 PyFPE_END_PROTECT(phi) in FUNC1()
930 return PyFloat_FromDouble(phi); in FUNC1()
941 double r, phi; in cmath_polar() local
945 phi = c_atan2(z); /* should not cause any exception */ in cmath_polar()
951 return Py_BuildValue("dd", r, phi); in cmath_polar()
976 double r, phi; in cmath_rect() local
977 if (!PyArg_ParseTuple(args, "dd:rect", &r, &phi)) in cmath_rect()
983 if (!Py_IS_FINITE(r) || !Py_IS_FINITE(phi)) { in cmath_rect()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dcmathmodule.c920 double phi; in FUNC1() local
925 phi = c_atan2(z); in FUNC1()
926 PyFPE_END_PROTECT(phi) in FUNC1()
930 return PyFloat_FromDouble(phi); in FUNC1()
941 double r, phi; in cmath_polar() local
945 phi = c_atan2(z); /* should not cause any exception */ in cmath_polar()
951 return Py_BuildValue("dd", r, phi); in cmath_polar()
976 double r, phi; in cmath_rect() local
977 if (!PyArg_ParseTuple(args, "dd:rect", &r, &phi)) in cmath_rect()
983 if (!Py_IS_FINITE(r) || !Py_IS_FINITE(phi)) { in cmath_rect()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dlistsort.txt338 where phi = (1+sqrt(5))/2 ~= 1.618. Thus a small # of stack slots suffice
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dlistsort.txt341 where phi = (1+sqrt(5))/2 ~= 1.618. Thus a small # of stack slots suffice