Rust 1.98 new feature: > The floating-point types f32 and f64 now have "algebrai...

@never_released@mastodon.social

Rust 1.98 new feature:

> The floating-point types f32 and f64 now have "algebraic" methods for addition, subtraction, multiplication, division, and remainder. These allow optimizations on these operations using the algebraic properties of real numbers, even though these properties do not hold with the limitations of floating-point representations