HomeSort by relevance Sort by last modified time
    Searched refs:_numerator (Results 1 - 4 of 4) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fractions.py 65 __slots__ = ('_numerator', '_denominator')
103 self._numerator = numerator.numerator
110 self._numerator = value._numerator
116 self._numerator = value._numerator
164 self._numerator = numerator // g
244 n, d = self._numerator, self._denominator
263 return a._numerator
271 return ('Fraction(%s, %s)' % (self._numerator, self._denominator)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fractions.py 65 __slots__ = ('_numerator', '_denominator')
103 self._numerator = numerator.numerator
110 self._numerator = value._numerator
116 self._numerator = value._numerator
164 self._numerator = numerator // g
244 n, d = self._numerator, self._denominator
263 return a._numerator
271 return ('Fraction(%s, %s)' % (self._numerator, self._denominator)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_fractions.py 66 return (self.num == other._numerator and
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)
243 r._numerator = 4
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_fractions.py 66 return (self.num == other._numerator and
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)
243 r._numerator = 4

Completed in 1777 milliseconds