Function copysign

Source
pub fn copysign(x: f32, y: f32) -> f32
Expand description

Returns a number composed of the magnitude of x and the sign of y.

Precision is specified when the libm feature is enabled.