atan -- <cmath>と<complex>のconstexpr対応 (close #1198)

1 · cpprefjp · Jan. 23, 2024, 6:33 a.m.
diff --git a/reference/complex/complex/atan.md b/reference/complex/complex/atan.md index f118cfcfb..5ef964f86 100644 --- a/reference/complex/complex/atan.md +++ b/reference/complex/complex/atan.md @@ -7,7 +7,11 @@ ```cpp namespace std { template <class T> - complex<T> atan(const complex<T>& x); + complex<T> + atan(const complex<T>& x); // (1) C++11 + template <class T> + constexpr complex<T> + atan(const complex<T>& x); // (1) C++26 } ``` @@ -90,3 +94,8 @@ atan( (1,2) ) = (1.3...