fadd_algebraic

fadd_algebraic (대수 규칙 덧셈 (f16))

대수 규칙에 기반한 최적화를 허용하는 부동소수점 덧셈이에요.

출처: Rust 공식 문서

본문

대수 규칙에 기반한 최적화를 허용하는 부동소수점 덧셈이에요. f16::algebraic_add , f32::algebraic_add , f64::algebraic_add , f128::algebraic_add 로 안정화됐어요.

pub const fn fadd_algebraic<T>(a: T, b: T) -> T where T: FloatPrimitive,

더 알아보기 (Learn more)

Rust 공식 문서