Skip to content

mdsherry/kahan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Implementation of Kahan summation for Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages