withSign

fun withSign(sign: Half): Half

Returns this value with the sign of sign.

Return

this value with the same sign bit as sign

Parameters

sign

the value whose sign to copy