atmosphere ~master (2017-02-14T07:28:57Z)
Home
Dub
Repo
Summator.opCast
atmosphere
summation
Summator
cast
(
C
)
operator overloading. Returns
cast
(
C
)
sum
()
. See also:
cast
C
opCast
()
C
opCast
()
struct
Summator
(T, Summation summation = Summation.Precise)
C
opCast
(
C
)
(
)
if
(
is
(
Unqual
!
C
==
T
)
)
if
(
isMutable
!
T
&&
(
summation
==
Summation.Precise
&&
isFloatingPoint
!
T
||
summation
==
Summation.Kahan
&&
isSummable
!
T
||
(
summation
==
Summation.KBN
||
summation
==
Summation.KB2
)
&&
(
isFloatingPoint
!
T
||
isComplex
!
T
)
)
)
Meta
Source
See Implementation
atmosphere
summation
Summator
aliases
F
constructors
this
destructors
~this
functions
isFinite
isInfinity
isNaN
opAssign
opCast
opOpAssign
partialsSum
put
sum
unsafePut
postblits
this(this)
variables
c
ccs
cs
s
t
y
cast(C) operator overloading. Returns cast(C)sum(). See also: cast