Home
last modified time | relevance | path

Searched defs:__float__ (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_float.py167 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo0
171 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo1
175 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo2
182 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo3
186 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo4
192 def __float__(self): member in GeneralFloatCases.test_floatconversion.FooStr
196 def __float__(self): member in GeneralFloatCases.test_floatconversion.FooUnicode
208 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo5
214 def __float__(self): member in GeneralFloatCases.test_floatconversion.F
Dtest_cmath.py181 def __float__(self): member in CMathTests.test_user_object.FloatAndComplex
186 def __float__(self): member in CMathTests.test_user_object.FloatAndComplexOS
191 def __float__(self): member in CMathTests.test_user_object.JustFloat
194 def __float__(self): member in CMathTests.test_user_object.JustFloatOS
Dtest_getargs2.py76 def __float__(self): member in Float
83 def __float__(self): member in FloatSubclass2
87 def __float__(self): member in BadFloat
91 def __float__(self): member in BadFloat2
95 def __float__(self): member in BadFloat3
Dtest_fractions.py44 def __float__(self): member in DummyFloat
85 def __float__(self): member in DummyRational
Dtest_format.py329 def __float__(self): member in FormatTest.test_invalid_special_methods.X
Dtest_math.py281 def __float__(self): member in MathTests.testCeil.TestCeil
405 def __float__(self): member in MathTests.testFloor.TestFloor
Dtest_class.py100 def __float__(self, *args): member in AllTests
498 __float__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
Dtest_binop.py66 def __float__(self): member in Rat
/external/python/cpython3/Lib/test/
Dtest_float.py177 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo1
181 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo2
188 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo3
192 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo4
198 def __float__(self): member in GeneralFloatCases.test_floatconversion.FooStr
209 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo5
215 def __float__(self): member in GeneralFloatCases.test_floatconversion.F
Dtest_cmath.py232 def __float__(self): member in CMathTests.test_user_object.FloatAndComplex
237 def __float__(self): member in CMathTests.test_user_object.FloatAndComplexOS
242 def __float__(self): member in CMathTests.test_user_object.JustFloat
245 def __float__(self): member in CMathTests.test_user_object.JustFloatOS
Dtest_getargs2.py99 def __float__(self): member in Float
106 def __float__(self): member in FloatSubclass2
110 def __float__(self): member in BadFloat
114 def __float__(self): member in BadFloat2
118 def __float__(self): member in BadFloat3
Dtest_fractions.py40 def __float__(self): member in DummyFloat
78 def __float__(self): member in DummyRational
Dtest_math.py223 def __float__(self): member in FloatLike
1999 def __float__(self): member in MathTests.test_issue39871.F
Dtest_class.py465 __float__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
Dtest_complex.py363 def __float__(self): member in ComplexTest.test_constructor.float2
/external/python/cpython2/Lib/ctypes/test/
Dtest_numbers.py110 def __float__(self): member in NumberTestCase.test_floats.FloatLike
121 def __float__(self): member in NumberTestCase.test_integers.FloatLike
/external/python/cpython3/Lib/ctypes/test/
Dtest_numbers.py110 def __float__(self): member in NumberTestCase.test_floats.FloatLike
121 def __float__(self): member in NumberTestCase.test_integers.FloatLike
/external/python/cpython3/Lib/
Dnumbers.py159 def __float__(self): member in Real
283 def __float__(self): member in Rational
375 def __float__(self): member in Integral
/external/python/cpython2/Lib/
Dnumbers.py181 def __float__(self): member in Real
284 def __float__(self): member in Rational
376 def __float__(self): member in Integral
/external/python/pybind11/tests/
Dtest_builtin_casters.py263 def __float__(self): member in test_int_convert.Float
/external/libchrome/third_party/markupsafe/
D__init__.py222 __float__ = lambda s: float(s.obj) member in _MarkupEscapeHelper
/external/python/cpython2/Demo/classes/
DComplex.py155 def __float__(self): member in Complex
Dbitvec.py329 def __float__(self): member in BitVec
/external/fonttools/Lib/fontTools/misc/
DloggingTools.py379 def __float__(self): member in Timer
/external/python/markupsafe/src/markupsafe/
D__init__.py267 def __float__(self): member in _MarkupEscapeHelper

12