Returns the first argument with the sign of the second argument. A NaN sign argument is treated as positive. @param magnitude the value to return @param sign the sign for the returned value @return the magnitude with the same sign as the sign argument
(double magnitude, double sign)