Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Including <math.h> should not define functions in namespace std. Users should be required to use <cmath> in order to get that behavior. Otherwise, this is a portability trap (https://godbolt.org/z/434zs4zz3).
If you think that's necessary for constexpr cmath, I'd like to understand why.
Also, let's coordinate with D134938 to find a single way forward and avoid duplicate work.