Skip to main content

frem_algebraic

Function frem_algebraic 

Source
pub const fn frem_algebraic<T: FloatPrimitive>(a: T, b: T) -> T
🔬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

Float remainder that allows optimizations based on algebraic rules.

Stabilized as f16::algebraic_rem, f32::algebraic_rem, f64::algebraic_rem and f128::algebraic_rem.