Spaghetti Tom
Monday, November 23, 2015
examples of explicitly using not-a-number as a setting in C#
Assert.AreEqual(Math.Sqrt(-49), Double.NaN);
double squareRootOfNegativeFortyNine = Double.NaN;
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment