Searched refs:__float__ (Results 1 – 14 of 14) sorted by relevance
181 def __float__(self): member in Real284 def __float__(self): member in Rational376 def __float__(self): member in Integral
25 def __float__(self): return float(self.data) member in UserString
1582 def __float__(self): member in Decimal
181 def __float__(self): member in CMathTests.test_user_object.FloatAndComplex186 def __float__(self): member in CMathTests.test_user_object.FloatAndComplexOS191 def __float__(self): member in CMathTests.test_user_object.JustFloat194 def __float__(self): member in CMathTests.test_user_object.JustFloatOS228 self.assertEqual(f(arg), f(arg.__float__()))
100 def __float__(self, *args): member in AllTests485 __float__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
127 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo0131 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo1135 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo2142 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo3146 def __float__(self): member in GeneralFloatCases.test_floatconversion.Foo4152 def __float__(self): member in GeneralFloatCases.test_floatconversion.FooStr156 def __float__(self): member in GeneralFloatCases.test_floatconversion.FooUnicode
66 def __float__(self): member in Rat
43 def __float__(self): member in DummyFloat84 def __float__(self): member in DummyRational
281 def __float__(self): member in MathTests.testCeil.TestCeil405 def __float__(self): member in MathTests.testFloor.TestFloor
355 def __float__(self): member in ComplexTest.test_constructor.float2
1345 def __float__(self): member in BuiltinTest.test_round.TestRound1357 t.__float__ = lambda *args: args
155 def __float__(self): member in Complex
329 def __float__(self): member in BitVec