Summator.isInfinity

Returns true if current sum is ±∞.

  1. bool isInfinity()
  2. 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