atmosphere ~master (2022-03-09T12:01:05.4173038)
Dub
Repo
Summator.put
atmosphere
summation
Summator
Adds
x
to the internal partial sums.
struct
Summator
(T, Summation summation = Summation.Precise)
void
put
(
T
n
)
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
Adds x to the internal partial sums.