Skip to content

Commit

Permalink
update description in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Feb 21, 2024
1 parent f6c1579 commit f45203f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Also, summing a list of floating point numbers can be done more precisely than t

## Proposal

Add a variadic `Math.sumExact` method which returns the sum of its arguments using a more precise algorithm than naive summation.
Add an iterable-taking `Math.sumExact` method which returns the sum of the values in the iterable using a more precise algorithm than naive summation.

```js
let values = [1e20, 0.1, -1e20];
Expand Down

0 comments on commit f45203f

Please sign in to comment.