Skip to main content

copysignf64

Function copysignf64 

Source
pub const fn copysignf64(x: f64, y: f64) -> f64
🔬This is a nightly-only experimental API. (core_intrinsics)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description

Copies the sign from y to x for f64 values.

The stabilized version of this intrinsic is f64::copysign