Searched defs:__float__ (Results 1 – 25 of 41) sorted by relevance
/external/python/cpython2/Lib/test/ | ||
D | test_float.py | 167 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo0 |
D | test_cmath.py | 181 def __float__(self): member in CMathTests.test_user_object.FloatAndComplex |
D | test_getargs2.py | 76 def __float__(self): member in Float |
D | test_fractions.py | 44 def __float__(self): member in DummyFloat |
D | test_format.py | 329 def __float__(self): member in FormatTest.test_invalid_special_methods.X |
D | test_math.py | 281 def __float__(self): member in MathTests.testCeil.TestCeil |
D | test_class.py | 100 def __float__(self, *args): member in AllTests |
D | test_binop.py | 66 def __float__(self): member in Rat |
/external/python/cpython3/Lib/test/ | ||
D | test_float.py | 177 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo1 |
D | test_cmath.py | 232 def __float__(self): member in CMathTests.test_user_object.FloatAndComplex |
D | test_getargs2.py | 99 def __float__(self): member in Float |
D | test_fractions.py | 40 def __float__(self): member in DummyFloat |
D | test_math.py | 223 def __float__(self): member in FloatLike |
D | test_class.py | 465 __float__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass |
D | test_complex.py | 363 def __float__(self): member in ComplexTest.test_constructor.float2 |
/external/python/cpython2/Lib/ctypes/test/ | ||
D | test_numbers.py | 110 def __float__(self): member in NumberTestCase.test_floats.FloatLike |
/external/python/cpython3/Lib/ctypes/test/ | ||
D | test_numbers.py | 110 def __float__(self): member in NumberTestCase.test_floats.FloatLike |
/external/python/cpython3/Lib/ | ||
D | numbers.py | 159 def __float__(self): member in Real |
/external/python/cpython2/Lib/ | ||
D | numbers.py | 181 def __float__(self): member in Real |
/external/python/pybind11/tests/ | ||
D | test_builtin_casters.py | 263 def __float__(self): member in test_int_convert.Float |
/external/libchrome/third_party/markupsafe/ | ||
D | __init__.py | 222 __float__ = lambda s: float(s.obj) member in _MarkupEscapeHelper |
/external/python/cpython2/Demo/classes/ | ||
D | Complex.py | 155 def __float__(self): member in Complex |
D | bitvec.py | 329 def __float__(self): member in BitVec |
/external/fonttools/Lib/fontTools/misc/ | ||
D | loggingTools.py | 379 def __float__(self): member in Timer |
/external/python/markupsafe/src/markupsafe/ | ||
D | __init__.py | 267 def __float__(self): member in _MarkupEscapeHelper |