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

Address more places where we call std::pow. #16452

Merged
merged 1 commit into from Jan 11, 2024
Merged

Conversation

bangerth
Copy link
Member

Also related to #13321. There are a number of places where we call std::pow(x,1./3.), which can be optimized by calling std::cbrt() instead. The remainder of the places are where we call std::pow with an exponent we know is an integer -- here, we can just use Utilities::pow().

@bangerth bangerth added this to the Release 9.6 milestone Jan 10, 2024
@blaisb blaisb merged commit 253e516 into dealii:master Jan 11, 2024
15 checks passed
@bangerth bangerth deleted the pow-5 branch January 11, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants