sign

Returns the sign of this half-precision float value:

  • Half(-1.0) if the value is negative,

  • POSITIVE_ZERO if the value is zero,

  • Half(1.0) if the value is positive

  • NaN is the value is Not-a-Number