atmosphere ~master (2022-03-09T12:01:05.4173038)
Dub
Repo
Summator.isInfinity
atmosphere
summation
Summator
Returns
true
if current sum is ±∞.
bool
isInfinity
()
bool
isInfinity
()
struct
Summator
(T, Summation summation = Summation.Precise)
static if
(!(
summation == Summation.Precise
))
static if
(
isFloatingPoint!F
)
bool
isInfinity
(
)
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
Returns true if current sum is ±∞.