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

Using lolremez to find half precision polynomials or arbitrary bits precision fixed point #22

Open
jfalcou opened this issue Mar 7, 2022 · 1 comment

Comments

@jfalcou
Copy link

jfalcou commented Mar 7, 2022

As stated in the title, we may want to find a polynom based on arbitrary, lower than 32 bits, precision.
Looks like there is a lol/half but it's a very precise f16 implementation.

@samhocevar
Copy link
Owner

For now, lolremez is not smart enough to understand the precision of the type you'll be using, so the best approach is to use rounding on the coefficients it returns.

However it has been a longtime plan to implement type-aware polynomial solving, I'll let you know when it is available.

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