datatable.math.copysign()

Return a float with the magnitude of x and the sign of y.