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

Presumably wrong value of PI constant #187

Open
cadaniluk opened this issue Jun 22, 2021 · 0 comments
Open

Presumably wrong value of PI constant #187

cadaniluk opened this issue Jun 22, 2021 · 0 comments

Comments

@cadaniluk
Copy link

In libff, both common/double.cpp and algebra/fields/field_utils.tcc define the constant PI as

const double PI = 3.141592653589793238460264338328L;

But isn't the 0 wrong? As this website says, for example, it is (rounded)

3.14159265358979323846264338328
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