### 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 |

#**10** in #sum

**228** 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

, and`Cargo .toml`

`extern` `crate` kahan`;`

to your

or `lib .rs`

`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

~150KB