Home
last modified time | relevance | path

Searched refs:DivisionByZero (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_decimal.py75 C.Overflow, C.DivisionByZero, C.InvalidOperation,
78 P.Overflow, P.DivisionByZero, P.InvalidOperation,
254 'division_by_zero' : self.decimal.DivisionByZero,
1514 DivisionByZero = cls.decimal.DivisionByZero
1531 cls.assertRaises(DivisionByZero, c2.divide, d1, 0)
1532 cls.assertTrue(c2.flags[DivisionByZero])
1535 cls.assertTrue(c3.flags[DivisionByZero])
1547 for sig in Overflow, Underflow, DivisionByZero, InvalidOperation:
1553 DivisionByZero = cls.decimal.DivisionByZero
1591 for sig in Overflow, Underflow, DivisionByZero, InvalidOperation:
[all …]
/external/python/cpython2/Doc/library/
Ddecimal.rst100 :const:`DivisionByZero`, :const:`Inexact`, :const:`Rounded`, :const:`Subnormal`,
129 capitals=1, flags=[], traps=[Overflow, DivisionByZero,
263 DivisionByZero: x / 0
290 >>> getcontext().traps[DivisionByZero] = 1
295 DivisionByZero: x / 0
671 ``Decimal('-Infinity')`` is returned and the :const:`DivisionByZero` flag
1025 for Overflow, InvalidOperation, and DivisionByZero.
1491 Python exception to be raised. For example, if the :class:`DivisionByZero` trap
1492 is set, then a :exc:`DivisionByZero` exception is raised upon encountering the
1510 .. class:: DivisionByZero
[all …]
/external/python/cpython3/Doc/library/
Ddecimal.rst105 :const:`DivisionByZero`, :const:`Inexact`, :const:`Rounded`, :const:`Subnormal`,
134 capitals=1, clamp=0, flags=[], traps=[Overflow, DivisionByZero,
297 DivisionByZero: x / 0
324 >>> getcontext().traps[DivisionByZero] = 1
329 DivisionByZero: x / 0
673 ``Decimal('-Infinity')`` is returned and the :const:`DivisionByZero` flag
990 :class:`DivisionByZero`.
1546 Python exception to be raised. For example, if the :class:`DivisionByZero` trap
1547 is set, then a :exc:`DivisionByZero` exception is raised upon encountering the
1565 .. class:: DivisionByZero
[all …]
/external/angle/src/tests/preprocessor_tests/
Dif_test.cpp676 TEST_F(IfTest, DivisionByZero) in TEST_F() argument
/external/python/cpython3/Lib/
D_pydecimal.py266 class DivisionByZero(DecimalException, ZeroDivisionError): class
422 _signals = [Clamped, DivisionByZero, Inexact, Overflow, Rounded,
1354 return context._raise_error(DivisionByZero, 'x / 0', sign)
1452 return (context._raise_error(DivisionByZero, 'x // 0', sign),
1596 return context._raise_error(DivisionByZero, 'x // 0',
3345 return context._raise_error(DivisionByZero, 'logb(0)', 1)
6076 traps=[DivisionByZero, Overflow, InvalidOperation],
6091 traps=[DivisionByZero, Overflow, InvalidOperation, Clamped, Underflow],
/external/python/cpython2/Lib/
Ddecimal.py234 class DivisionByZero(DecimalException, ZeroDivisionError): class
375 _signals = [Clamped, DivisionByZero, Inexact, Overflow, Rounded,
1321 return context._raise_error(DivisionByZero, 'x / 0', sign)
1422 return (context._raise_error(DivisionByZero, 'x // 0', sign),
1566 return context._raise_error(DivisionByZero, 'x // 0',
3239 return context._raise_error(DivisionByZero, 'logb(0)', 1)
5881 traps=[DivisionByZero, Overflow, InvalidOperation],
5895 traps=[DivisionByZero, Overflow, InvalidOperation, Clamped, Underflow],
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py168 C.DivisionByZero: P.DivisionByZero,
/external/python/cpython2/Lib/test/
Dtest_decimal.py50 Underflow, Overflow, DivisionByZero, InvalidOperation)
124 'division_by_zero' : DivisionByZero,
/external/python/cpython2/Doc/whatsnew/
D2.4.rst667 decimal.DivisionByZero: x / 0
668 >>> decimal.getcontext().traps[decimal.DivisionByZero] = False
/external/python/cpython3/Doc/whatsnew/
D2.4.rst667 decimal.DivisionByZero: x / 0
668 >>> decimal.getcontext().traps[decimal.DivisionByZero] = False
/external/armnn/src/backends/neon/test/
DNeonLayerTests.cpp795 ARMNN_AUTO_TEST_CASE_WITH_THF(DivisionByZero, DivisionByZeroTest)
/external/armnn/src/backends/cl/test/
DClLayerTests.cpp869 ARMNN_AUTO_TEST_FIXTURE_WITH_THF(DivisionByZero, ClContextControlFixture, DivisionByZeroTest)
/external/abseil-cpp/absl/time/
Dduration_test.cc764 TEST(Duration, DivisionByZero) { in TEST() argument
/external/tensorflow/third_party/absl/abseil-cpp/absl/time/
Dduration_test.cc764 TEST(Duration, DivisionByZero) { in TEST() argument
/external/angle/third_party/abseil-cpp/absl/time/
Dduration_test.cc761 TEST(Duration, DivisionByZero) { in TEST() argument
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dduration_test.cc758 TEST(Duration, DivisionByZero) { in TEST() argument
/external/libtextclassifier/abseil-cpp/absl/time/
Dduration_test.cc758 TEST(Duration, DivisionByZero) { in TEST() argument
/external/openscreen/third_party/abseil/src/absl/time/
Dduration_test.cc758 TEST(Duration, DivisionByZero) { in TEST() argument
/external/cronet/third_party/abseil-cpp/absl/time/
Dduration_test.cc761 TEST(Duration, DivisionByZero) { in TEST() argument
/external/webrtc/third_party/abseil-cpp/absl/time/
Dduration_test.cc764 TEST(Duration, DivisionByZero) { in TEST() argument
/external/armnn/src/backends/reference/test/
DRefLayerTests.cpp860 ARMNN_AUTO_TEST_CASE_WITH_THF(DivisionByZero, DivisionByZeroTest)
/external/llvm/docs/
DLangRef.rst76 prefix. For example, ``%foo``, ``@DivisionByZero``,