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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment