Function float_extras::f64::copysign [] [src]

pub fn copysign(x: f64, y: f64) -> f64

copysign returns a value whose absolute value matches that of x, but whose sign bit matches that of y.