sign

val sign: Half

Returns the sign of this value: NaN if this is NaN, +0 if zero, +1.0 or −1.0 otherwise.