/external/tensorflow/tensorflow/python/kernel_tests/ |
D | division_future_test.py | 64 floordiv = x // y 66 check(floordiv, tf_floordiv)
|
D | division_past_test.py | 63 floordiv = x // y 65 check(floordiv, tf_floordiv)
|
D | cwise_ops_binary_test.py | 190 if tf_func not in (_FLOORDIV, math_ops.floordiv, math_ops.zeta, 207 self._compareBoth(x, y + 0.1, np.floor_divide, math_ops.floordiv) 275 self._compareBoth(x, y + 0.1, np.floor_divide, math_ops.floordiv) 322 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv) 333 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv) 351 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv) 424 if tf_func not in (_FLOORDIV, math_ops.floordiv): 452 tf_func in (_FLOORDIV, math_ops.floordiv)): 482 (np.floor_divide, math_ops.floordiv),
|
D | basic_gpu_test.py | 64 self._compareGPU(x, y + 0.1, np.floor_divide, math_ops.floordiv) 233 self._compareGpu(x, y + 0.1, np.floor_divide, math_ops.floordiv)
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_operators.py | 56 ragged_tensor.RaggedTensor.__floordiv__ = math_ops.floordiv 57 ragged_tensor.RaggedTensor.__rfloordiv__ = _right(math_ops.floordiv)
|
D | ragged_dispatch.py | 369 math_ops.floordiv,
|
D | ragged_dispatch_test.py | 103 math_ops.floordiv,
|
/external/python/cpython3/Objects/ |
D | floatobject.c | 621 double div, mod, floordiv; in float_divmod() local 652 floordiv = floor(div); in float_divmod() 653 if (div - floordiv > 0.5) in float_divmod() 654 floordiv += 1.0; in float_divmod() 658 floordiv = copysign(0.0, vx / wx); /* zero w/ sign of vx/wx */ in float_divmod() 660 PyFPE_END_PROTECT(floordiv) in float_divmod() 661 return Py_BuildValue("(dd)", floordiv, mod); in float_divmod()
|
/external/python/cpython3/Lib/test/ |
D | test_abstract_numbers.py | 38 self.assertRaises(TypeError, operator.floordiv, c1, c2)
|
D | test_operator.py | 158 self.assertRaises(TypeError, operator.floordiv, 5) 159 self.assertRaises(TypeError, operator.floordiv, None, None) 160 self.assertEqual(operator.floordiv(5, 2), 2)
|
D | datetimetester.py | 22 from operator import lt, le, gt, ge, eq, ne, truediv, floordiv, mod 836 self.assertRaises(ZeroDivisionError, floordiv, t, zerotd)
|
/external/python/cpython3/Lib/ |
D | operator.py | 83 def floordiv(a, b): function 430 __floordiv__ = floordiv
|
/external/python/cpython2/Objects/ |
D | floatobject.c | 751 double div, mod, floordiv; in float_divmod() local 785 floordiv = floor(div); in float_divmod() 786 if (div - floordiv > 0.5) in float_divmod() 787 floordiv += 1.0; in float_divmod() 792 floordiv = div * vx / wx; /* zero w/ sign of vx/wx */ in float_divmod() 794 PyFPE_END_PROTECT(floordiv) in float_divmod() 795 return Py_BuildValue("(dd)", floordiv, mod); in float_divmod()
|
/external/python/cpython2/Lib/test/ |
D | test_operator.py | 153 self.assertTrue(operator.floordiv(5, 2) == 2) 156 self.assertRaises(TypeError, operator.floordiv, 5) 157 self.assertRaises(TypeError, operator.floordiv, None, None) 158 self.assertTrue(operator.floordiv(5, 2) == 2)
|
/external/libchrome/third_party/jinja2/ |
D | sandbox.py | 255 '//': operator.floordiv,
|
D | nodes.py | 30 '//': operator.floordiv,
|
/external/python/cpython3/Doc/library/ |
D | operator.rst | 104 .. function:: floordiv(a, b) 378 | Division | ``a // b`` | ``floordiv(a, b)`` |
|
/external/python/cpython2/Doc/library/ |
D | operator.rst | 112 .. function:: floordiv(a, b) 630 | Division | ``a // b`` | ``floordiv(a, b)`` |
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_ops.py | 277 return floordiv(self.x, y, self.name) 1117 def floordiv(x, y, name=None): function 1179 _OverrideBinaryOperatorHelper(floordiv, "floordiv")
|
D | math_ops_test.py | 515 c_grad = gradients.gradients(math_ops.floordiv(a, b), [a, b])
|
/external/python/cpython2/Modules/ |
D | operator.c | 392 spam2(floordiv,__floordiv__, "floordiv(a, b) -- Same as a // b.")
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.math.pbtxt | 152 name: "floordiv"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.math.pbtxt | 152 name: "floordiv"
|
/external/python/cpython3/Doc/howto/ |
D | functional.rst | 1089 * Math operations: ``add()``, ``sub()``, ``mul()``, ``floordiv()``, ``abs()``, ...
|
/external/python/cpython2/Doc/howto/ |
D | functional.rst | 1108 * Math operations: ``add()``, ``sub()``, ``mul()``, ``div()``, ``floordiv()``,
|