Summator.isNaN

Returns true if current sum is a NaN.

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

Meta