Ejemplo n.º 1
0
 /// <summary>
 /// Returns a value indicating whether the specified number evaluates to negative or positive infinity.
 /// </summary>
 /// <param name="half">A half-precision floating-point number.</param>
 /// <returns>true if half evaluates to System.Half.PositiveInfinity or System.Half.NegativeInfinity; otherwise, false.</returns>
 public static bool IsInfinity(Half half)
 {
     return(HalfHelper.IsInfinity(half));
 }