8000 What is exactly approximate RcpPolyXX methods in FixedUtils.cs? · Issue #12 · XMunkki/FixPointCS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

What is exactly approximate RcpPolyXX methods in FixedUtils.cs? #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and 8449 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

Open
KichangKim opened this issue Jul 19, 2022 · 0 comments
Open

What is exactly approximate RcpPolyXX methods in FixedUtils.cs? #12

KichangKim opened this issue Jul 19, 2022 · 0 comments

Comments

@KichangKim
Copy link
KichangKim commented Jul 19, 2022

Hi. I'm studying fixed point arithmetic and this FixPointCS is excellent material.

My question is, what is RcpPolyXX approximate? 1/x or 1/(x + 1)?

In Div() method, it used with one subtracted value from original value, like int res = FixedUtil.RcpPoly6(n - ONE);, not FixedUtil.RcpPoly(n) so it is quite confusing.

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

1 participant
0