Searched refs:Rat (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_binop.py | 25 return isinstance(x, Rat) 27 class Rat(object): class 89 other = Rat(other) 91 return Rat(self.__num*other.__den + other.__num*self.__den, 102 other = Rat(other) 104 return Rat(self.__num*other.__den - other.__num*self.__den, 113 other = Rat(other) 115 return Rat(other.__num*self.__den - self.__num*other.__den, 124 return Rat(self.__num*other.__num, self.__den*other.__den) 126 return Rat(self.__num*other, self.__den) [all …]
|
D | test_long.py | 831 class Rat: class 873 if not isinstance(other, Rat): 874 other = Rat(other) 890 Rx = Rat(x) 892 Ry = Rat(y)
|
/external/python/cpython3/Lib/test/ |
D | test_binop.py | 27 return isinstance(x, Rat) 29 class Rat(object): class 85 other = Rat(other) 87 return Rat(self.__num*other.__den + other.__num*self.__den, 98 other = Rat(other) 100 return Rat(self.__num*other.__den - other.__num*self.__den, 109 other = Rat(other) 111 return Rat(other.__num*self.__den - self.__num*other.__den, 120 return Rat(self.__num*other.__num, self.__den*other.__den) 122 return Rat(self.__num*other, self.__den) [all …]
|
D | test_long.py | 537 class Rat: class 579 if not isinstance(other, Rat): 580 other = Rat(other) 607 Rx = Rat(x) 609 Ry = Rat(y)
|
/external/icu/icu4c/source/data/locales/ |
D | lb.txt | 188 "Rat", 210 "Rat",
|
D | nl.txt | 2136 "Rat", 2150 "Rat", 2164 "Rat", 3213 "Rat", 3227 "Rat", 3241 "Rat",
|
D | ar_XB.txt | 37 "Rat",
|
D | en.txt | 285 "Rat",
|
/external/python/cpython2/Misc/ |
D | HISTORY | 14101 - Demo/classes/Rat.py completely rewritten by Sjoerd Mullender. 15270 Complex.py and Rat.py show how to implement a numeric type without and 16481 demo/classes/Rat.py for a simple example.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 31480 - Demo/classes/Rat.py completely rewritten by Sjoerd Mullender. 32649 Complex.py and Rat.py show how to implement a numeric type without and 33860 demo/classes/Rat.py for a simple example.
|