Searched refs:_denominator (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/ |
D | fractions.py | 104 self._denominator = numerator.denominator 111 self._denominator = value._denominator 117 self._denominator = value._denominator 165 self._denominator = denominator // g 240 if self._denominator <= max_denominator: 244 n, d = self._numerator, self._denominator 267 return a._denominator 271 return ('Fraction(%s, %s)' % (self._numerator, self._denominator)) 275 if self._denominator == 1: 278 return '%s/%s' % (self._numerator, self._denominator) [all …]
|
/external/python/cpython3/Lib/ |
D | fractions.py | 98 self._denominator = 1 103 self._denominator = numerator.denominator 108 self._numerator, self._denominator = numerator.as_integer_ratio() 164 self._denominator = denominator 199 return (self._numerator, self._denominator) 235 if self._denominator <= max_denominator: 239 n, d = self._numerator, self._denominator 262 return a._denominator 267 self._numerator, self._denominator) 271 if self._denominator == 1: [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_fractions.py | 67 self.den == other._denominator) 72 return(self.num * other._denominator < self.den * other._numerator) 75 return(self.num * other._denominator > self.den * other._numerator) 78 return(self.num * other._denominator <= self.den * other._numerator) 81 return(self.num * other._denominator >= self.den * other._numerator) 244 r._denominator = 2
|
/external/python/cpython3/Lib/test/ |
D | test_fractions.py | 60 self.den == other._denominator) 65 return(self.num * other._denominator < self.den * other._numerator) 68 return(self.num * other._denominator > self.den * other._numerator) 71 return(self.num * other._denominator <= self.den * other._numerator) 74 return(self.num * other._denominator >= self.den * other._numerator) 224 r._denominator = 2
|
/external/icu/icu4c/source/i18n/ |
D | nfsubs.cpp | 277 double _denominator, in NumeratorSubstitution() argument 281 : NFSubstitution(_pos, _ruleSet, fixdesc(description), status), denominator(_denominator) in NumeratorSubstitution()
|