The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Summator.opCast
mir
math
sum
Summator
Returns
Summator
with extended internal partial sums.
C
opCast
()
struct
Summator
(T, Summation summation)
const
@
attr
C
opCast
(
C
:
Summator
!(
P
,
_summation
)
P
Summation
_summation
)
(
)
if
(
_summation
==
summation
&&
isMutable
!
C
&&
P.max_exp
>=
T.max_exp
&&
P.mant_dig
>=
T.mant_dig
)
if
(
isMutable
!
T
)
C
opCast
()
Meta
Source
See Implementation
mir
math
sum
Summator
constructors
this
functions
isFinite
isInfinity
isNaN
opAssign
opCast
opOpAssign
put
sum
Returns Summator with extended internal partial sums.