Home
last modified time | relevance | path

Searched defs:__trunc__ (Results 1 – 13 of 13) 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
391 def __trunc__(self): member in IntTestCases.test_intconversion.NonIntegral
396 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsNonIntegral
414 def __trunc__(self): member in IntTestCases.test_intconversion.TruncReturnsBadInt
445 def __trunc__(self): member in IntTestCases.test_int_returns_int_subclass.TruncReturnsBadInt
449 def __trunc__(self): member in IntTestCases.test_int_returns_int_subclass.TruncReturnsIntSubclass
Dtest_long.py393 def __trunc__(self): member in LongTest.test_conversion.LongTrunc
Dtest_math.py1208 def __trunc__(self): member in MathTests.test_trunc.TestTrunc
/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.py504 def __trunc__(a): member in Fraction
Dnumbers.py166 def __trunc__(self): member in Real
D_pydecimal.py1629 __trunc__ = __int__ variable in Decimal
/external/python/pyasn1/pyasn1/type/
Duniv.py231 def __trunc__(self): member in Integer
1454 def __trunc__(self): member in Real