kahan

Crates.iokahan
lib.rskahan
version0.1.4
sourcesrc
created_at2017-12-31 17:13:59.260714
updated_at2019-08-01 23:42:01.988915
descriptionProvides types to perform Kahan summation
homepage
repositoryhttps://github.com/mdsherry/kahan
max_upload_size
id45059
size17,674
(mdsherry)

documentation

https://docs.rs/kahan/0.1.0/kahan/

README

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.

Commit count: 10

cargo fmt