Home
last modified time | relevance | path

Searched defs:__complex__ (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_cmath.py144 def __complex__(self): member in CMathTests.test_user_object.MyComplex
151 def __complex__(self): member in CMathTests.test_user_object.MyComplexOS
158 def __complex__(self): member in CMathTests.test_user_object.MyComplexException
161 def __complex__(self): member in CMathTests.test_user_object.MyComplexExceptionOS
183 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplex
188 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplexOS
Dtest_complex.py236 def __complex__(self): return self.value member in ComplexTest.test_constructor.OS
239 def __complex__(self): return self.value member in ComplexTest.test_constructor.NS
359 def __complex__(self): member in ComplexTest.test_constructor.evilcomplex
376 def __complex__(self): member in ComplexTest.test_constructor.complex0
383 def __complex__(self): member in ComplexTest.test_constructor.complex1
389 def __complex__(self): member in ComplexTest.test_constructor.complex2
Dtest_getargs2.py100 def __complex__(self): member in Complex
107 def __complex__(self): member in ComplexSubclass2
111 def __complex__(self): member in BadComplex
115 def __complex__(self): member in BadComplex2
119 def __complex__(self): member in BadComplex3
/external/python/cpython3/Lib/test/
Dtest_complex.py220 def __complex__(self): return self.value member in ComplexTest.test_constructor.OS
223 def __complex__(self): return self.value member in ComplexTest.test_constructor.NS
355 def __complex__(self): member in ComplexTest.test_constructor.evilcomplex
390 def __complex__(self): member in ComplexTest.test_constructor.complex0
397 def __complex__(self): member in ComplexTest.test_constructor.complex1
403 def __complex__(self): member in ComplexTest.test_constructor.complex2
Dtest_cmath.py198 def __complex__(self): member in CMathTests.test_user_object.MyComplex
205 def __complex__(self): member in CMathTests.test_user_object.MyComplexOS
212 def __complex__(self): member in CMathTests.test_user_object.MyComplexException
215 def __complex__(self): member in CMathTests.test_user_object.MyComplexExceptionOS
234 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplex
239 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplexOS
Dtest_getargs2.py123 def __complex__(self): member in Complex
130 def __complex__(self): member in ComplexSubclass2
134 def __complex__(self): member in BadComplex
138 def __complex__(self): member in BadComplex2
142 def __complex__(self): member in BadComplex3
Dtest_class.py466 __complex__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
Dtest_typing.py1365 def __complex__(self): member in ProtocolTests.test_supports_complex.C
/external/python/cpython3/Lib/
Dnumbers.py46 def __complex__(self): member in Complex
246 def __complex__(self): member in Real
Dtyping.py1749 def __complex__(self) -> complex: member in SupportsComplex
D_pydecimal.py1646 def __complex__(self): member in Decimal
/external/python/cpython2/Lib/
Dnumbers.py48 def __complex__(self): member in Complex
249 def __complex__(self): member in Real
DUserString.py26 def __complex__(self): return complex(self.data) member in UserString
Ddecimal.py1616 def __complex__(self): member in Decimal
/external/llvm-project/lldb/examples/python/
Dsbvalue.py252 def __complex__(self): member in variable
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py543 __complex__ = __float__ variable in SkipHandler
/external/python/cffi/c/
Dtest_c.py237 def __complex__(self): member in test_complex_types.Foo
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py1375 def __complex__(self): member in BaseResourceVariable
/external/python/cpython3/Lib/collections/
D__init__.py1285 def __complex__(self): member in UserString
/external/tensorflow/tensorflow/python/framework/
Dops.py987 def __complex__(self): member in _EagerTensorBase