]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Restore test for generate_cannonical with __float128.
authorTomasz Kamiński <tkaminsk@redhat.com>
Fri, 19 Dec 2025 14:52:00 +0000 (15:52 +0100)
committerTomasz Kamiński <tkaminsk@redhat.com>
Fri, 19 Dec 2025 14:56:15 +0000 (15:56 +0100)
Accidentally dropped from commit.

libstdc++-v3/ChangeLog:

* testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon_eng.cc:
Test __float128 when available.

libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon_eng.cc

index c8d5b5d263be73eae9cccd6941fcae5a8dbee80f..662e3568a3042b36d38c50dd17d708574f69cd6f 100644 (file)
@@ -36,4 +36,9 @@ int main()
   test_all_engines<float>();
   test_all_engines<double>();
   test_all_engines<long double>();
+#ifndef _GLIBCXX_GENERATE_CANONICAL_STRICT
+#  ifdef __SIZEOF_FLOAT128__
+  test_all_engines<__float128>();
+#  endif
+#endif 
 }