Summator.isFinite

Returns true if current sum is finite (not infinite or NaN).

  1. bool isFinite()
  2. bool isFinite()
    struct Summator(T, Summation summation = Summation.Precise)
    static if(!(summation == Summation.Precise))
    static if(isFloatingPoint!F)
    bool
    isFinite
    ()
    if (
    isMutable!T &&
    (
    summation == Summation.Precise &&
    isFloatingPoint!T
    ||
    summation == Summation.Kahan &&
    isSummable!T
    ||
    (
    summation == Summation.KBN ||
    summation == Summation.KB2
    )
    &&
    (
    isFloatingPoint!T ||
    isComplex!T
    )
    )
    )

Meta