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

Warning for Utils::POW() #128

Open
afabri opened this issue Oct 11, 2024 · 0 comments
Open

Warning for Utils::POW() #128

afabri opened this issue Oct 11, 2024 · 0 comments

Comments

@afabri
Copy link

afabri commented Oct 11, 2024

In a testsuite of CGAL where we call functions from OpenGR we get a warning from the compiler concerning the function POW(). It is a false alert, but it might be an indication that the compiler does not recognize that this can be computed at compile time.

You use it here. If I was you I used a left shift instead. I would also use a left shift for the occurences of std:pow(2,..).

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