The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Complex.opBinary
mir
complex
Complex
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(Complex!R rhs)
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(Complex!R rhs)
struct
Complex
(T)
scope const
@
optmath
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(
string
op
: "-"
R
)
(
Complex
!
R
rhs
)
if
(
is
(
T
==
float
) ||
is
(
T
==
double
)
||
is
(
T
==
real
)
)
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(Complex!R rhs)
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(Complex!R rhs)
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(R rhs)
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(R rhs)
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(R rhs)
Complex
!(
CommonType
!(
T
,
R
))
opBinary
(R rhs)
Meta
Source
See Implementation
mir
complex
Complex
functions
opAssign
opBinary
opBinaryRight
opCast
opEquals
opOpAssign
opUnary
toHash
variables
im
re