]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/tst-CMPLX2.c
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / math / tst-CMPLX2.c
index 416d477c493847c8181b2db5610258fdd99e477d..ad629e187e69665f26ee465ff637ebe0c7a94a5a 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (C) 2012 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Marek Polacek <polacek@redhat.com>, 2012.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -13,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 /* Adapted from gcc.dg/torture/builtin-complex-1.c test from GCC
    testsuite written by Joseph S. Myers.  */
@@ -121,14 +119,12 @@ check_double (void)
              double, comparec, CMPLX);
 }
 
-# ifndef NO_LONG_DOUBLE
 static void
 check_long_double (void)
 {
   ALL_CHECKS (0.0l, -0.0l, __builtin_nanl (""), __builtin_infl (),
              long double, comparecl, CMPLXL);
 }
-# endif
 #endif
 
 static int
@@ -137,9 +133,7 @@ do_test (void)
 #ifdef CMPLX
   check_float ();
   check_double ();
-# ifndef NO_LONG_DOUBLE
   check_long_double ();
-# endif
 #endif
 
   return result;