4 releases

Uses old Rust 2015

0.1.4 Aug 1, 2019
0.1.3 Feb 12, 2018
0.1.2 Feb 12, 2018
0.1.0 Dec 31, 2017

#1161 in Algorithms

Download history 21/week @ 2024-01-08 54/week @ 2024-01-15 103/week @ 2024-01-29 75/week @ 2024-02-05 26/week @ 2024-02-12 75/week @ 2024-02-19 70/week @ 2024-02-26 83/week @ 2024-03-04 29/week @ 2024-03-11 31/week @ 2024-03-18 9/week @ 2024-03-25 29/week @ 2024-04-01 2/week @ 2024-04-08 13/week @ 2024-04-15

54 downloads per month
Used in srgb

Apache-2.0

7KB
133 lines

Kahan Sum

This crate implements a type for computing Kahan sums over floating point numbers. It also implements a new trait for computing Kahan sums over iterators of floats.

To use Kahan Sum in your project

Add

[dependencies]
kahan = "0.1"

to your Cargo.toml, and

extern crate kahan;

to your lib.rs or main.rs.

Example

For examples, please see the documentation.


lib.rs:

This crate implements a type for computing Kahan sums over floating point numbers. It also implements a new trait for computing Kahan sums over iterators of floats.

Dependencies

~155KB