/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 271 isclose = _math.isclose variable 278 def isclose(a, b, rel_tol=1e-09, abs_tol=0): function 429 if isclose(m % 1, .5) and int(m) % 2 == 0:
|
/external/fonttools/Tests/misc/ |
D | py23_test.py | 12 round2, round3, isclose, redirect_stdout, redirect_stderr) 264 isclose = staticmethod(isclose) variable in IsCloseTests 268 self.isclose(a, b, *args, **kwargs), 273 self.isclose(a, b, *args, **kwargs),
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b2.rst | 65 Add math.isclose() and cmath.isclose() functions as per PEP 485. Contributed
|
/external/python/cpython3/Lib/test/ |
D | test_cmath.py | 602 isclose = cmath.isclose variable in IsCloseTests 606 self.isclose(1j, 1j, rel_tol=1j) 609 self.isclose(1j, 1j, abs_tol=1j) 612 self.isclose(1j, 1j, rel_tol=1j, abs_tol=1j)
|
D | test_math.py | 1426 isclose = math.isclose # subclasses should override this variable in IsCloseTests 1429 self.assertTrue(self.isclose(a, b, *args, **kwargs), 1433 self.assertFalse(self.isclose(a, b, *args, **kwargs),
|
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/ |
D | decode_proto_op_test_base.py | 63 np.isclose(vs[i], ev), 'expected %r, actual %r' % (ev, vs[i]))
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | topk_op_test.py | 87 if np.isclose(values[batch_index, index],
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 610 :pep:`485` adds the :func:`math.isclose` and :func:`cmath.isclose` 614 Relative tolerance is the maximum allowed difference between ``isclose`` 620 >>> math.isclose(a, b, rel_tol=1e-5) 622 >>> math.isclose(a, b, rel_tol=1e-6) 631 >>> math.isclose(a, b, abs_tol=0.00003) 633 >>> math.isclose(a, b, abs_tol=0.00001) 888 A new function :func:`~cmath.isclose` provides a way to test for approximate 1451 A new function :func:`~math.isclose` provides a way to test for approximate
|
/external/grpc-grpc/tools/run_tests/ |
D | run_tests.py | 1301 def isclose(a, b, rel_tol=1e-09, abs_tol=0.0): function 1781 if not isclose(args.sample_percent, 100.0):
|
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/ |
D | cudnn_rnn_ops_test.py | 82 if is_training and not np.isclose(dropout, 0): 569 if is_training and not np.isclose(dropout, 0):
|
/external/python/cpython3/Doc/library/ |
D | cmath.rst | 212 .. function:: isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0)
|
D | math.rst | 118 .. function:: isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0)
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | dnn_test.py | 125 self.assertTrue(np.all(np.isclose(language_value, initial_value))) 126 self.assertFalse(np.all(np.isclose(wire_value, initial_value)))
|
/external/fonttools/ |
D | NEWS.rst | 928 py35 math.isclose() (9d8dacb)
|
D | PKG-INFO | 1345 py35 math.isclose() (9d8dacb)
|
/external/fonttools/Lib/fonttools.egg-info/ |
D | PKG-INFO | 1345 py35 math.isclose() (9d8dacb)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | layers_test.py | 1172 np.isclose(output_deconv, output_conv2d_transpose, 1e-5, 1e-5).all())
|