Crates.io | kahan |
lib.rs | kahan |
version | 0.1.4 |
source | src |
created_at | 2017-12-31 17:13:59.260714 |
updated_at | 2019-08-01 23:42:01.988915 |
description | Provides types to perform Kahan summation |
homepage | |
repository | https://github.com/mdsherry/kahan |
max_upload_size | |
id | 45059 |
size | 17,674 |
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.
Add
[dependencies]
kahan = "0.1"
to your Cargo.toml
, and
extern crate kahan;
to your lib.rs
or main.rs
.
For examples, please see the documentation.