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

research more recent paper #54

Closed
maddyblue opened this issue May 23, 2017 · 1 comment
Closed

research more recent paper #54

maddyblue opened this issue May 23, 2017 · 1 comment
Assignees

Comments

@maddyblue
Copy link
Contributor

https://members.loria.fr/PZimmermann/mca/mca-cup-0.5.9.pdf

Has a section about floating point arithmetic that appears to be able to support our use case of arbitrary precision. Research the methods there to see if we can improve performance more.

@maddyblue maddyblue self-assigned this May 23, 2017
@maddyblue
Copy link
Contributor Author

I've begun an exploration of this paper at https://github.com/cockroachdb/apd/tree/int10

It implements an int10 type that is just a []uint8, with one digit per member. This clearly wastes memory, but critically it also wastes lots of CPU during add, since it has to add one digit at a time. It may make sense to use 1000 per digit instead of 10.

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

No branches or pull requests

2 participants