copy_signMakes a number positive or negative based on the sign of the sign input.
valueThe value to modify.
signA value used to determine the sign of the output.
outputIf sign is negative, the output value will be negative. If sign is positive, the output value will be positive. The magnitude of the input value is preserved.