Skip to content

add amrex::Math::exp10()#4864

Merged
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
zingale:add_exp10
Dec 23, 2025
Merged

add amrex::Math::exp10()#4864
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
zingale:add_exp10

Conversation

@zingale
Copy link
Copy Markdown
Member

@zingale zingale commented Dec 22, 2025

Summary

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@zingale
Copy link
Copy Markdown
Member Author

zingale commented Dec 22, 2025

alternately, on CPU, we could choose to do:

std::exp(x * std::numbers::ln10)

@WeiqunZhang WeiqunZhang merged commit 10b67a7 into AMReX-Codes:development Dec 23, 2025
73 checks passed
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

Successfully merging this pull request may close these issues.

2 participants