compiler_
builtins
1.89.0-nightly-777d37277-2025-05-17
In compiler_
builtins::
math::
libm_
math::
generic::
copysign
compiler_builtins
::
math
::
libm_math
::
generic
::
copysign
Function
copysign
Copy item path
Source
pub fn copysign<F:
Float
>(x: F, y: F) -> F
Expand description
Copy the sign of
y
to
x
.