/external/python/cpython2/Lib/ |
D | numbers.py | 181 def __float__(self): member in Real 284 def __float__(self): member in Rational 376 def __float__(self): member in Integral
|
D | UserString.py | 25 def __float__(self): return float(self.data) member in UserString
|
D | decimal.py | 1580 def __float__(self): member in Decimal
|
/external/python/cpython2/Lib/test/ |
D | test_cmath.py | 181 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 228 self.assertEqual(f(arg), f(arg.__float__()))
|
D | test_float.py | 167 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
|
D | test_getargs2.py | 75 def __float__(self): member in Float 82 def __float__(self): member in FloatSubclass2 86 def __float__(self): member in BadFloat 90 def __float__(self): member in BadFloat2 94 def __float__(self): member in BadFloat3
|
D | test_class.py | 100 def __float__(self, *args): member in AllTests 498 __float__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
|
D | test_format.py | 329 def __float__(self): member in FormatTest.test_invalid_special_methods.X
|
D | test_fractions.py | 44 def __float__(self): member in DummyFloat 85 def __float__(self): member in DummyRational
|
D | test_binop.py | 66 def __float__(self): member in Rat
|
D | test_math.py | 281 def __float__(self): member in MathTests.testCeil.TestCeil 405 def __float__(self): member in MathTests.testFloor.TestFloor
|
D | test_complex.py | 360 def __float__(self): member in ComplexTest.test_constructor.float2
|
D | test_builtin.py | 1296 def __float__(self): member in BuiltinTest.test_round.TestRound 1308 t.__float__ = lambda *args: args
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_numbers.py | 110 def __float__(self): member in NumberTestCase.test_floats.FloatLike 121 def __float__(self): member in NumberTestCase.test_integers.FloatLike
|
/external/libmojo/third_party/markupsafe/ |
D | __init__.py | 222 __float__ = lambda s: float(s.obj) member in _MarkupEscapeHelper
|
/external/python/cpython2/Doc/c-api/ |
D | float.rst | 56 *pyfloat* is not a Python floating point object but has a :meth:`__float__`
|
/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/libmojo/third_party/jinja2/ |
D | runtime.py | 497 __float__ = __complex__ = __pow__ = __rpow__ = \
|
/external/python/cpython2/Doc/library/ |
D | cmath.rst | 11 any Python object that has either a :meth:`__complex__` or a :meth:`__float__`
|
/external/deqp/modules/gles31/scripts/ |
D | genutil.py | 279 def __float__(self): member in Scalar
|
/external/deqp/modules/gles3/scripts/ |
D | genutil.py | 279 def __float__(self): member in Scalar
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1201 float(s) = __float__(s) complex(s) = __complex__(s)
|
D | NEWS | 457 __str__, __trunc__, and __float__ returning instances of subclasses of 3631 - Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 7520 - Issue #5759: float() didn't call __float__ on str subclasses. 10707 to the __float__() method. Therefore, the functions in the cmath
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 2203 object.__float__(self)
|