Exemplo n.º 1
0
 /// <summary>
 /// Returns a value indicating whether the specified number evaluates to not a number (System.Half.NaN).
 /// </summary>
 /// <param name="half">A half-precision floating-point number.</param>
 /// <returns>true if value evaluates to not a number (System.Half.NaN); otherwise, false.</returns>
 public static bool IsNaN(Half half)
 {
     return(HalfHelper.IsNaN(half));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns a value indicating whether the specified number evaluates to not a number (System.Half.NaN).
 /// </summary>
 /// <param name="half">A half-precision floating-point number.</param>
 /// <returns>true if value evaluates to not a number (System.Half.NaN); otherwise, false.</returns>
 public static bool IsNaN(Half half) => HalfHelper.IsNaN(half);