Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advance to stage 1 and make summation precise #2

Merged
merged 4 commits into from
Dec 18, 2023
Merged

Advance to stage 1 and make summation precise #2

merged 4 commits into from
Dec 18, 2023

Conversation

bakkot
Copy link
Collaborator

@bakkot bakkot commented Dec 15, 2023

Per #1.

I've added a polyfill to confirm that it's practical to do full-precision summation. I also added a second one based on BigInts to confirm the correctness of the first (there's some nasty edge cases with rounding).

@bakkot bakkot merged commit 440c5ae into main Dec 18, 2023
1 check passed
@bakkot bakkot deleted the precise-sum branch December 18, 2023 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant