Searched defs:den (Results 1 - 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_binop.py33 def __init__(self, num=0L, den=1L):
34 """Constructor: Rat([num[, den]]).
39 if not isint(den):
40 raise TypeError, "Rat denominator must be int or long (%r)" % den
42 if den == 0:
44 g = gcd(den, num)
46 self.__den = long(den//g)
54 """Accessor function for read-only 'den' attribute of Rat."""
56 den = property(_get_den, None) variable in class:Rat
71 """Convert a Rat to an int; self.den mus
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A Dmathmodule.c204 double num = 0.0, den = 0.0; local
218 den = den * x + lanczos_den_coeffs[i];
224 den = den / x + lanczos_den_coeffs[i];
227 return num/den;
1318 PyObject *num, *den; local
1328 den = loghelper(base, m_log, "log");
1329 if (den == NULL) {
1334 ans = PyNumber_Divide(num, den);
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dmathmodule.c204 double num = 0.0, den = 0.0; local
218 den = den * x + lanczos_den_coeffs[i];
224 den = den / x + lanczos_den_coeffs[i];
227 return num/den;
1308 PyObject *num, *den; local
1318 den = loghelper(base, m_log, "log");
1319 if (den == NULL) {
1324 ans = PyNumber_Divide(num, den);
[all...]

Completed in 33 milliseconds