Searched refs:__float__ (Results 1 - 25 of 56) sorted by relevance

123

/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Dnumbers.py181 def __float__(self): member in class:Real
284 def __float__(self): member in class:Rational
376 def __float__(self): member in class:Integral
H A DUserString.py25 def __float__(self): return float(self.data) member in class:UserString
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Dnumbers.py181 def __float__(self): member in class:Real
284 def __float__(self): member in class:Rational
376 def __float__(self): member in class:Integral
H A DUserString.py25 def __float__(self): return float(self.data) member in class:UserString
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dnumbers.py181 def __float__(self): member in class:Real
284 def __float__(self): member in class:Rational
376 def __float__(self): member in class:Integral
H A DUserString.py25 def __float__(self): return float(self.data) member in class:UserString
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dnumbers.py181 def __float__(self): member in class:Real
284 def __float__(self): member in class:Rational
376 def __float__(self): member in class:Integral
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_cmath.py123 # Test automatic calling of __complex__ and __float__ by cmath
164 # some classes not providing __float__ or __complex__
178 # other possible combinations of __float__ and __complex__
181 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplex
186 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplexOS
191 def __float__(self): member in class:CMathTests.test_user_object.JustFloat
194 def __float__(self): member in class:CMathTests.test_user_object.JustFloatOS
201 # other combinations of __float__ and __complex__
207 # either __complex__ or __float__, even if they provide
225 # functions, by virtue of providing a __float__ metho
[all...]
H A Dtest_class.py100 def __float__(self, *args): member in class:AllTests
386 self.assertCallStack([('__float__', (testme,))])
498 __float__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
H A Dtest_float.py125 # Make sure that calls to __float__() work properly
127 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo0
131 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo1
135 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo2
142 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo3
146 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo4
149 # Issue 5759: __float__ not called on str subclasses (though it is on
152 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.FooStr
156 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.FooUnicode
H A Dtest_binop.py66 def __float__(self): member in class:Rat
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_cmath.py123 # Test automatic calling of __complex__ and __float__ by cmath
164 # some classes not providing __float__ or __complex__
178 # other possible combinations of __float__ and __complex__
181 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplex
186 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplexOS
191 def __float__(self): member in class:CMathTests.test_user_object.JustFloat
194 def __float__(self): member in class:CMathTests.test_user_object.JustFloatOS
201 # other combinations of __float__ and __complex__
207 # either __complex__ or __float__, even if they provide
225 # functions, by virtue of providing a __float__ metho
[all...]
H A Dtest_class.py100 def __float__(self, *args): member in class:AllTests
386 self.assertCallStack([('__float__', (testme,))])
498 __float__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
H A Dtest_float.py125 # Make sure that calls to __float__() work properly
127 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo0
131 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo1
135 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo2
142 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo3
146 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo4
149 # Issue 5759: __float__ not called on str subclasses (though it is on
152 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.FooStr
156 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.FooUnicode
H A Dtest_binop.py66 def __float__(self): member in class:Rat
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_cmath.py123 # Test automatic calling of __complex__ and __float__ by cmath
164 # some classes not providing __float__ or __complex__
178 # other possible combinations of __float__ and __complex__
181 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplex
186 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplexOS
191 def __float__(self): member in class:CMathTests.test_user_object.JustFloat
194 def __float__(self): member in class:CMathTests.test_user_object.JustFloatOS
201 # other combinations of __float__ and __complex__
207 # either __complex__ or __float__, even if they provide
225 # functions, by virtue of providing a __float__ metho
[all...]
H A Dtest_class.py100 def __float__(self, *args): member in class:AllTests
386 self.assertCallStack([('__float__', (testme,))])
498 __float__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
H A Dtest_float.py125 # Make sure that calls to __float__() work properly
127 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo0
131 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo1
135 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo2
142 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo3
146 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo4
149 # Issue 5759: __float__ not called on str subclasses (though it is on
152 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.FooStr
156 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.FooUnicode
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_cmath.py123 # Test automatic calling of __complex__ and __float__ by cmath
164 # some classes not providing __float__ or __complex__
178 # other possible combinations of __float__ and __complex__
181 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplex
186 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplexOS
191 def __float__(self): member in class:CMathTests.test_user_object.JustFloat
194 def __float__(self): member in class:CMathTests.test_user_object.JustFloatOS
201 # other combinations of __float__ and __complex__
207 # either __complex__ or __float__, even if they provide
225 # functions, by virtue of providing a __float__ metho
[all...]
H A Dtest_class.py100 def __float__(self, *args): member in class:AllTests
386 self.assertCallStack([('__float__', (testme,))])
498 __float__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
H A Dtest_float.py125 # Make sure that calls to __float__() work properly
127 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo0
131 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo1
135 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo2
142 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo3
146 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.Foo4
149 # Issue 5759: __float__ not called on str subclasses (though it is on
152 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.FooStr
156 def __float__(self): member in class:GeneralFloatCases.test_floatconversion.FooUnicode
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
H A Dtest_numbers.py109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike
120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
H A Dtest_numbers.py109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike
120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_numbers.py109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike
120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_numbers.py109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike
120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike

Completed in 567 milliseconds

123