withSign

fun withSign(sign: Half): Half(source)

Returns this value with the sign bit same as of the sign value. If sign is NaN the sign of the result is undefined.