Skip to main content

copysignf32

Function copysignf32 

Source
pub const fn copysignf32(x: f32, y: f32) -> f32
🔬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 f32 values.

The stabilized version of this intrinsic is f32::copysign