mir-core — Libmir Archive
Libmir Archive
API Reference Index
mir-core Guide
Dlang.org
Complex.opCast
mir
complex
Complex
Casts the complex number to type `R` via the explicit cast operator.
struct
Complex
(T)
scope const
@
optmath
R
opCast
(
R
)
(
)
if
(
isNumeric
!
R
||
isComplex
!
R
)
if
(
is
(
T
==
float
) ||
is
(
T
==
double
)
||
is
(
T
==
real
)
)
mir
complex
Complex
functions
opAssign
opBinary
opBinaryRight
opCast
opEquals
opOpAssign
opUnary
toHash
variables
im
re
Casts the complex number to type `R` via the explicit cast operator.