/external/python/cpython3/Lib/test/ |
D | test_float.py | 330 self.assertIsInstance(float(0.5).__ceil__(), int) 331 self.assertEqual(float(0.5).__ceil__(), 1) 332 self.assertEqual(float(1.0).__ceil__(), 1) 333 self.assertEqual(float(1.5).__ceil__(), 2) 334 self.assertEqual(float(-0.5).__ceil__(), 0) 335 self.assertEqual(float(-1.0).__ceil__(), -1) 336 self.assertEqual(float(-1.5).__ceil__(), -1) 337 self.assertEqual(float(1.23e167).__ceil__(), 1.23e167) 338 self.assertEqual(float(-1.23e167).__ceil__(), -1.23e167) 339 self.assertRaises(ValueError, float("nan").__ceil__) [all …]
|
D | test_math.py | 396 def __ceil__(self): member in MathTests.testCeil.TestCeil 399 def __ceil__(self): member in MathTests.testCeil.FloatCeil 409 t.__ceil__ = lambda *args: args
|
/external/python/cpython3/Lib/ |
D | numbers.py | 184 def __ceil__(self): member in Real
|
D | fractions.py | 500 def __ceil__(a): member in Fraction
|
D | _pydecimal.py | 1907 def __ceil__(self): member in Decimal
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 287 self.assertEqual(math.ceil(mock), mock.__ceil__()) 313 self.assertEqual(math.ceil(mock), mock.__ceil__())
|
/external/python/cpython3/Doc/library/ |
D | fractions.rst | 163 .. method:: __ceil__()
|
D | math.rst | 35 If *x* is not a float, delegates to ``x.__ceil__()``, which should return an
|
D | unittest.mock.rst | 2013 * ``__round__``, ``__floor__``, ``__trunc__`` and ``__ceil__``
|
/external/python/mock/mock/tests/ |
D | testmagicmethods.py | 343 self.assertEqual(math.ceil(mock), mock.__ceil__())
|
/external/python/pyasn1/pyasn1/type/ |
D | univ.py | 231 def __ceil__(self): member in Integer 1499 def __ceil__(self): member in Real
|
/external/protobuf/python/google/protobuf/internal/ |
D | test_util.py | 853 def __ceil__(self): member in NonStandardInteger
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a2.rst | 197 Added ``__floor__`` and ``__ceil__`` methods to float object. Patch by
|
/external/python/cpython3/Modules/ |
D | mathmodule.c | 1195 _Py_IDENTIFIER(__ceil__); in math_ceil()
|
/external/python/cpython2/Lib/test/ |
D | test_math.py | 289 t.__ceil__ = lambda *args: args
|
/external/python/pyasn1/ |
D | CHANGES.rst | 402 (e.g. __pos__, __neg__, __round__, __floor__, __ceil__, __trunc__)
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 2500 object.__ceil__(self)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 14203 - In the math module, correctly lookup __trunc__, __ceil__, and __floor__ as 16780 - The Decimal module gained the magic methods __round__, __ceil__,
|