[libcxx-commits] [libcxx] [libcxx] Change the return type of pow(complex<float>, int) (PR #128779)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 25 16:28:24 PST 2025


================
@@ -102,5 +102,8 @@ int main(int, char**)
     test<long double, float>();
     test<long double, double>();
 
-  return 0;
+    // Make sure LWG4191: P1467 is respected.
----------------
frederick-vs-ja wrote:

I don't think we need to change this file either. `test<int, float>()`, `test<unsigned, float>()`, and `test<long long, float>()` should have been sufficient.

https://github.com/llvm/llvm-project/pull/128779


More information about the libcxx-commits mailing list