OpenGR icon indicating copy to clipboard operation
OpenGR copied to clipboard

Warning for Utils::POW()

Open afabri opened this issue 1 year ago • 0 comments

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,..).

afabri avatar Oct 11 '24 08:10 afabri