HomeSort by relevance Sort by last modified time
    Searched full:__float__ (Results 1 - 25 of 46) sorted by null

1 2

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cmath.py 123 # 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...]
test_fractions.py 43 # shouldn't be calling __float__ at all when doing comparisons
44 def __float__(self): member in class:DummyFloat
45 assert False, "__float__ should not be invoked for comparisons"
85 def __float__(self): member in class:DummyRational
86 assert False, "__float__ should not be invoked"
321 # Check that __float__ isn't implemented by converting the
test_class.py 100 def __float__(self, *args): member in class:AllTests
386 self.assertCallStack([('__float__', (testme,))])
498 __float__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
test_float.py 125 # 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
    [all...]
test_binop.py 66 def __float__(self): member in class:Rat
test_builtin.py 1349 def __float__(self): member in class:BuiltinTest.test_round.TestRound
    [all...]
test_math.py 281 def __float__(self): member in class:MathTests.testCeil.TestCeil
405 def __float__(self): member in class:MathTests.testFloor.TestFloor
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cmath.py 123 # 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...]
test_fractions.py 43 # shouldn't be calling __float__ at all when doing comparisons
44 def __float__(self): member in class:DummyFloat
45 assert False, "__float__ should not be invoked for comparisons"
85 def __float__(self): member in class:DummyRational
86 assert False, "__float__ should not be invoked"
321 # Check that __float__ isn't implemented by converting the
test_class.py 100 def __float__(self, *args): member in class:AllTests
386 self.assertCallStack([('__float__', (testme,))])
498 __float__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
test_float.py 125 # 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
    [all...]
test_binop.py 66 def __float__(self): member in class:Rat
test_builtin.py 1349 def __float__(self): member in class:BuiltinTest.test_round.TestRound
    [all...]
test_math.py 281 def __float__(self): member in class:MathTests.testCeil.TestCeil
405 def __float__(self): member in class:MathTests.testFloor.TestFloor
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
numbers.py 181 def __float__(self): member in class:Real
284 def __float__(self): member in class:Rational
376 def __float__(self): member in class:Integral
UserString.py 25 def __float__(self): return float(self.data) member in class:UserString
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
numbers.py 181 def __float__(self): member in class:Real
284 def __float__(self): member in class:Rational
376 def __float__(self): member in class:Integral
UserString.py 25 def __float__(self): return float(self.data) member in class:UserString
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_numbers.py 109 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/
test_numbers.py 109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike
120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
  /external/chromium_org/third_party/markupsafe/
__init__.py 222 __float__ = lambda s: float(s.obj) variable in class:_MarkupEscapeHelper
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/
intnum.pxi 104 def __float__(self): return float(self.__long__()) member in class:IntNum
  /external/lldb/examples/python/
sbvalue.py 247 def __float__(self): member in class:variable
  /external/lldb/www/python_reference/
lldb.value-class.html     [all...]
  /external/chromium_org/third_party/jinja2/
runtime.py 497 __float__ = __complex__ = __pow__ = __rpow__ = \

Completed in 668 milliseconds

1 2