re PR fortran/46817 (Missing copyright header in libquadmath/*.[hc])
authorTobias Burnus <burnus@net-b.de>
Mon, 17 Jan 2011 09:14:41 +0000 (10:14 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 17 Jan 2011 09:14:41 +0000 (10:14 +0100)
2011-01-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46817
        * quadmath-imp.h: Refer to libquadmath not ot libiberty,
        bump copyright year and use /**/ instead of // comments.
        * quadmath.h: Ditto.
        * quadmath-weak.h: Ditto.
        * quadmath_io.c: Ditto.

From-SVN: r168892

libquadmath/ChangeLog
libquadmath/quadmath-imp.h
libquadmath/quadmath.h
libquadmath/quadmath_io.c
libquadmath/quadmath_weak.h

index 0d518f7df79ea844ea9d36bb4f411b092cab692e..f5308db895c1d39bf8d9d5b01e6b675fc759339e 100644 (file)
@@ -1,3 +1,12 @@
+2011-01-17  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/46817
+       * quadmath-imp.h: Refer to libquadmath not ot libiberty,
+       bump copyright year and use /**/ instead of // comments.
+       * quadmath.h: Ditto.
+       * quadmath-weak.h: Ditto.
+       * quadmath_io.c: Ditto.
+
 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
 
        PR libfortran/47322
index 58e3146e36452b15c78297d501f26d8b5f606245..db34a92f08f39a00131978114e1d7829f8aecc18 100644 (file)
@@ -1,20 +1,20 @@
 /* GCC Quad-Precision Math Library
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011 Free Software Foundation, Inc.
    Written by Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
-This file is part of the libiberty library.
-Libiberty is free software; you can redistribute it and/or
+This file is part of the libquadmath library.
+Libquadmath is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 
-Libiberty is distributed in the hope that it will be useful,
+Libquadmath is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Library General Public License for more details.
 
 You should have received a copy of the GNU Library General Public
-License along with libiberty; see the file COPYING.LIB.  If
+License along with libquadmath; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
 Boston, MA 02110-1301, USA.  */
 
@@ -27,7 +27,7 @@ Boston, MA 02110-1301, USA.  */
 #include "config.h"
 
 
-// Prototypes for internal functions
+/* Prototypes for internal functions.  */
 extern int32_t __quadmath_rem_pio2q (__float128, __float128 *);
 extern void __quadmath_kernel_sincosq (__float128, __float128, __float128 *,
                                       __float128 *, int);
@@ -36,13 +36,13 @@ extern __float128 __quadmath_kernel_cosq (__float128, __float128);
 
 
 
-// Frankly, if you have __float128, you have 64-bit integers, right?
+/* Frankly, if you have __float128, you have 64-bit integers, right?  */
 #ifndef UINT64_C
 # error "No way!"
 #endif
 
 
-// Main union type we use to manipulate the floating-point type
+/* Main union type we use to manipulate the floating-point type.  */
 typedef union
 {
   __float128 value;
index 25ef413991882818ef12381dfa5526a40526571b..10a33efdc96243dc59403679c2aa445c22d7fad7 100644 (file)
@@ -1,20 +1,20 @@
 /* GCC Quad-Precision Math Library
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011 Free Software Foundation, Inc.
    Written by Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
-This file is part of the libiberty library.
-Libiberty is free software; you can redistribute it and/or
+This file is part of the libquadmath library.
+Libquadmath is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 
-Libiberty is distributed in the hope that it will be useful,
+Libquadmath is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Library General Public License for more details.
 
 You should have received a copy of the GNU Library General Public
-License along with libiberty; see the file COPYING.LIB.  If
+License along with libquadmath; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
 Boston, MA 02110-1301, USA.  */
 
index f258f7207634659ffed96c65c14f63ca165699de..ccd023c3c5a78eb2570e522f377bf1a75ed3c170 100644 (file)
@@ -1,20 +1,20 @@
 /* GCC Quad-Precision Math Library
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011 Free Software Foundation, Inc.
    Written by Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
-This file is part of the libiberty library.
-Libiberty is free software; you can redistribute it and/or
+This file is part of the libquadmath library.
+Libquadmath is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 
-Libiberty is distributed in the hope that it will be useful,
+Libquadmath is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Library General Public License for more details.
 
 You should have received a copy of the GNU Library General Public
-License along with libiberty; see the file COPYING.LIB.  If
+License along with libquadmath; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
 Boston, MA 02110-1301, USA.  */
 
@@ -37,19 +37,19 @@ format (char * res, const __float128 x, size_t n)
   g_Qfmt (buffer, &x, n + 1, sizeof(buffer) - 3);
   p = buffer + (*buffer == '-' ? 1 : 0);
 
-  // The sign is the easiest part
+  /* The sign is the easiest part.  */
   res[0] = (signbitq (x) ? '-' : '+');
 
   if (*p == '.')
   {
-    // We have a number smaller than 1, without exponent
+    /* We have a number smaller than 1, without exponent.  */
     int exp = 0;
     char *c;
 
     for (c = p+1; *c == '0'; c++)
       exp++;
 
-    // We move the string "exp" characters left
+    /* We move the string "exp" characters left.  */
     size_t l = strlen (p+1+exp);
     memcpy (res + 2, p + 1 + exp, l);
     memset (res + 2 + l, '0', n - l + 1);
@@ -61,7 +61,7 @@ format (char * res, const __float128 x, size_t n)
     return;
   }
 
-  // Now, do we already have an exponent
+  /* Now, do we already have an exponent.  */
   char *c;
   for (c = p; *c && *c != 'e'; c++)
     ;
@@ -81,7 +81,7 @@ format (char * res, const __float128 x, size_t n)
   }
   else
   {
-    // If we have no exponent, normalize and add the exponent
+    /* If we have no exponent, normalize and add the exponent.  */
     for (c = p; *c && *c != '.'; c++)
       ;
 
index 23fef22c7a452df43c024315152c63a5792f1a15..f83f566b880435a8fbb59b77b8431a8ceb8e18f0 100644 (file)
@@ -1,20 +1,20 @@
 /* GCC Quad-Precision Math Library
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011 Free Software Foundation, Inc.
    Written by Tobias Burnus  <burnus@net-b.de>
 
-This file is part of the libiberty library.
-Libiberty is free software; you can redistribute it and/or
+This file is part of the libquadmath library.
+Libquadmath is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 
-Libiberty is distributed in the hope that it will be useful,
+Libquadmath is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Library General Public License for more details.
 
 You should have received a copy of the GNU Library General Public
-License along with libiberty; see the file COPYING.LIB.  If
+License along with libquadmath; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
 Boston, MA 02110-1301, USA.  */
 
@@ -35,7 +35,7 @@ Boston, MA 02110-1301, USA.  */
 /* __qmath_foo is a weak reference to symbol foo.  */
 #define __qmath3(name) __qmath2(__qmath_ ## name,name,name)
 
-// Prototypes for real functions
+/* Prototypes for real functions.  */
 __qmath3 (acosq)
 __qmath3 (acoshq)
 __qmath3 (asinq)
@@ -103,7 +103,7 @@ __qmath3 (y1q)
 __qmath3 (ynq)
 
 
-// Prototypes for complex functions
+/* Prototypes for complex functions.  */
 __qmath3 (cabsq)
 __qmath3 (cargq)
 __qmath3 (cimagq)
@@ -130,7 +130,7 @@ __qmath3 (ctanq)
 __qmath3 (ctanhq)
 
 
-// Prototypes for string <-> flt128 conversion functions
+/* Prototypes for string <-> flt128 conversion functions.  */
 __qmath3 (strtoflt128)
 __qmath3 (quadmath_flt128tostr)