Home
last modified time | relevance | path

Searched defs:__trunc__ (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_int.py365 def __trunc__(self): member in IntTestCases.test_intconversion.IntOverridesTrunc
370 def __trunc__(self): member in IntTestCases.test_intconversion.JustTrunc
375 def __trunc__(self): member in IntTestCases.test_intconversion.ExceptionalTrunc
386 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsNonInt
395 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsNonIndex
400 def __trunc__(self): member in IntTestCases.test_intconversion.NonIntegral
405 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsNonIntegral
423 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsBadInt
479 def __trunc__(self): member in IntTestCases.test_int_returns_int_subclass.TruncReturnsBadIndex
483 def __trunc__(self): member in IntTestCases.test_int_returns_int_subclass.TruncReturnsBadInt
[all …]
Dtest_math.py1492 def __trunc__(self): member in MathTests.test_trunc.TestTrunc
1495 def __trunc__(self): member in MathTests.test_trunc.FloatTrunc
Dtest_long.py393 def __trunc__(self): member in LongTest.test_conversion.LongTrunc
/external/python/cpython2/Lib/test/
Dtest_int.py449 def __trunc__(self): member in IntTestCases.test_intconversion.IntOverridesTrunc
454 def __trunc__(self): member in IntTestCases.test_intconversion.JustTrunc
464 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsNonInt
469 def __trunc__(self): member in IntTestCases.test_intconversion.NonIntegral
474 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsNonIntegral
487 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsIntSubclass
Dtest_long.py526 def __trunc__(self): member in LongTest.test_conversion.LongOverridesTrunc
531 def __trunc__(self): member in LongTest.test_conversion.JustTrunc
541 def __trunc__(self): member in LongTest.test_conversion.TruncReturnsNonLong
546 def __trunc__(self): member in LongTest.test_conversion.NonIntegral
551 def __trunc__(self): member in LongTest.test_conversion.TruncReturnsNonIntegral
Dtest_math.py875 def __trunc__(self): member in MathTests.test_trunc.TestTrunc
/external/python/cpython2/Lib/
Dfractions.py501 def __trunc__(a): member in Fraction
Dnumbers.py188 def __trunc__(self): member in Real
Ddecimal.py1603 __trunc__ = __int__ variable in Decimal
/external/python/cpython3/Lib/
Dfractions.py489 def __trunc__(a): member in Fraction
Dnumbers.py166 def __trunc__(self): member in Real
D_pydecimal.py1633 __trunc__ = __int__ variable in Decimal
/external/protobuf/python/google/protobuf/internal/
Dtest_util.py783 def __trunc__(self): member in NonStandardInteger
/external/python/pyasn1/pyasn1/type/
Duniv.py235 def __trunc__(self): member in Integer
1503 def __trunc__(self): member in Real