Online Java copySign() function

copySign - Returns the first floating point x with the sign of the second floating point y


Run on Java version: