Home
last modified time | relevance | path

Searched refs:__truediv__ (Results 1 – 25 of 47) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_complex.py83 q = z.__truediv__(x)
90 q = z.__truediv__(y)
115 self.assertAlmostEqual(complex.__truediv__(2+0j, 1+1j), 1-1j)
116 self.assertRaises(ZeroDivisionError, complex.__truediv__, 1+1j, 0+0j)
416 __truediv__ = __div__ variable in ComplexTest.test_subclass.xcomplex
Dtest_binop.py133 def __truediv__(self, other): member in Rat
143 __div__ = __truediv__
Dtest_augassign.py168 def __truediv__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dtest_coercion.py63 def __truediv__(self,other): member in MethodNumber
/external/python/cpython3/Lib/test/
Dtest_statistics.py949 def __truediv__(self, other): member in ConvertTest.test_fraction.MyFraction
950 return self.__class__(super().__truediv__(other))
959 def __truediv__(self, other): member in ConvertTest.test_float.MyFloat
960 return self.__class__(super().__truediv__(other))
969 def __truediv__(self, other): member in ConvertTest.test_decimal.MyDecimal
970 return self.__class__(super().__truediv__(other))
1101 def __truediv__(self, other): member in UnivariateCommonMixin.test_type_of_data_element.MyFloat
1102 return type(self)(super().__truediv__(other))
1128 def __truediv__(self, other): member in UnivariateTypeMixin.prepare_types_for_conservation_test.MyFloat
1129 return type(self)(super().__truediv__(other))
Dtest_complex.py77 q = z.__truediv__(x)
82 q = z.__truediv__(y)
102 self.assertRaises(ZeroDivisionError, complex.__truediv__, 1+1j, 0+0j)
106 self.assertAlmostEqual(complex.__truediv__(2+0j, 1+1j), 1-1j)
107 self.assertRaises(ZeroDivisionError, complex.__truediv__, 1+1j, 0+0j)
Dtest_augassign.py164 def __truediv__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dtest_binop.py128 def __truediv__(self, other): member in Rat
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_operators.py67 ragged_tensor.RaggedTensor.__truediv__ = math_ops.truediv
/external/python/cpython3/Lib/
Dnumbers.py110 def __truediv__(self, other): member in Complex
Doperator.py444 __truediv__ = truediv variable
Dfractions.py428 __truediv__, __rtruediv__ = _operator_fallbacks(_div, operator.truediv) variable in Fraction
/external/python/cpython2/Lib/
Dnumbers.py124 def __truediv__(self, other): member in Complex
Dfractions.py414 __truediv__, __rtruediv__ = _operator_fallbacks(_div, operator.truediv) variable in Fraction
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmagicmethods.py136 mock.__truediv__ = truediv
140 del mock.__truediv__
/external/python/dateutil/dateutil/test/
D_common.py223 __truediv__ = __rtruediv__ = _op variable in NotAValueClass
/external/python/mock/mock/tests/
Dtestmagicmethods.py164 mock.__truediv__ = truediv
168 del mock.__truediv__
/external/clang/utils/ABITest/
DEnumeration.py36 __truediv__ = __floordiv__ variable in Aleph0
/external/fonttools/Lib/fontTools/misc/
DarrayTools.py180 def __truediv__(self, other): member in Vector
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dcore.py425 def __truediv__(self, other): member in LabeledTensor
428 __div__ = __truediv__
/external/tensorflow/tensorflow/python/distribute/
Dvalues.py326 def __truediv__(self, o): return self.get() / o member in DistributedDelegate
844 def __truediv__(self, o): return self.read_value() / o member in TPUMirroredVariable
1543 def __truediv__(self, o): return self._v / o member in AggregatingVariable
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape.py487 def __truediv__(self, other): member in Dimension
/external/libchrome/third_party/jinja2/
Druntime.py644 __truediv__ = __rtruediv__ = __floordiv__ = __rfloordiv__ = \
/external/python/dateutil/dateutil/
Drelativedelta.py564 __truediv__ = __div__ variable in relativedelta
/external/python/cpython2/Modules/
Doperator.c393 spam2(truediv,__truediv__, "truediv(a, b) -- Same as a / b when __future__.division is in effect.")

12