mir-core ~master (2021-10-18T16:44:50Z)
Dub
Repo
Complex.opCast
mir
complex
Complex
struct
Complex
(T)
const scope
@
optmath
R
opCast
(
R
)
(
)
if
(
isNumeric
!
R
||
isComplex
!
R
)
if
(
is
(
T
==
float
) ||
is
(
T
==
double
)
||
is
(
T
==
real
)
)
Meta
Source
See Implementation
mir
complex
Complex
functions
opAssign
opBinary
opBinaryRight
opCast
opEquals
opOpAssign
opUnary
toHash
variables
im
re