0/14 уроков (0%)
– из 14
Writing a Crate for Kahan Summation in Rust - Meetup Talk
YouTube·Rust
Explore the implementation of a generic Kahan summer in Rust and its extension to all iterators over floats in this talk from the first Rust KW Meetup. Dive into the intricacies of floating-point numbers, precision, and the Kahan summation technique. Follow the speaker's journey from a simple implementation to a feature-rich crate, covering topics such as customizing operators, implementing methods for traits, and abstracting over borrowing. Learn how to replace the standard iterator sum with a more precise Kahan sum method, applicable to various float types. Gain insights into the challenges and solutions encountered during the development process, and discover how to create a robust and efficient crate for numerical computations in Rust.