Returns the value x with the sign bit same as of the sign value.
x
Usage: withSign(x, sign)
withSign(x, sign)