# neumaierSum

From PreciseSums v0.3
by Matthew Fidler

##### Using the Neumaier method, take a more accurate sum

Using the Neumaier method, take a more accurate sum

##### Usage

`neumaierSum(numbers)`

##### Arguments

- numbers
A vector of numbers to sum.

##### Value

Sum of numbers, a bit more accurate than kahanSum

##### References

##### Examples

```
# NOT RUN {
sum(c(1,1e100,1,-1e100)) ## Should be 2, gives 0
neumaierSum(c(1,1e100,1,-1e100)) ## Gives 2
# }
```

*Documentation reproduced from package PreciseSums, version 0.3, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.