Monday, November 23, 2015

examples of explicitly using not-a-number as a setting in C#

  1. Assert.AreEqual(Math.Sqrt(-49), Double.NaN);
  2. double squareRootOfNegativeFortyNine = Double.NaN;

No comments:

Post a Comment