From 74eee8866db0c7e01216e6a73b9b19414a95b04b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Nov 1998 19:11:20 +0000 Subject: Update. 1998-11-10 Ulrich Drepper * math/cabs.c: Replace complex by _Complex. * math/cabsf.c: Likewise. * math/cabsl.c: Likewise. * math/cimag.c: Likewise. * math/cimagf.c: Likewise. * math/cimagl.c: Likewise. * math/conj.c: Likewise. * math/conjf.c: Likewise. * math/conjl.c: Likewise. * math/creal.c: Likewise. * math/crealf.c: Likewise. * math/creall.c: Likewise. * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if included from math.h and __USE_ISOC9X is defined. * sysdeps/generic/bits/mathdef.h: Likewise. * sysdeps/generic/i386/fpu/mathdef.h: Likewise. * sysdeps/generic/m68k/fpu/mathdef.h: Likewise. * sysdeps/generic/powerpc/bits/mathdef.h: Likewise. * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise. 1998-11-10 Andreas Jaeger * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by . * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. * sysdeps/generic/bits/mathdef.h: Likewise. * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. * sysdeps/powerpc/bits/mathdef.h: Likewise. * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. 1998-11-09 Ulrich Drepper * extra-lib.mk: Fix typo in last change. --- math/cabs.c | 4 ++-- math/cabsf.c | 4 ++-- math/cabsl.c | 4 ++-- math/cimag.c | 4 ++-- math/cimagf.c | 4 ++-- math/cimagl.c | 4 ++-- math/conj.c | 6 +++--- math/conjf.c | 6 +++--- math/conjl.c | 6 +++--- math/creal.c | 4 ++-- math/crealf.c | 4 ++-- math/creall.c | 4 ++-- 12 files changed, 27 insertions(+), 27 deletions(-) (limited to 'math') diff --git a/math/cabs.c b/math/cabs.c index cf775ded95..e91258c1dc 100644 --- a/math/cabs.c +++ b/math/cabs.c @@ -1,5 +1,5 @@ /* Return the complex absolute value of double complex value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -22,7 +22,7 @@ #include double -__cabs (double complex z) +__cabs (double _Complex z) { return __hypot (__real__ z, __imag__ z); } diff --git a/math/cabsf.c b/math/cabsf.c index 2ea2660d97..ea02b8f38a 100644 --- a/math/cabsf.c +++ b/math/cabsf.c @@ -1,5 +1,5 @@ /* Return the complex absolute value of float complex value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -22,7 +22,7 @@ #include float -__cabsf (float complex z) +__cabsf (float _Complex z) { return __hypotf (__real__ z, __imag__ z); } diff --git a/math/cabsl.c b/math/cabsl.c index 1f3554cef2..15e1274990 100644 --- a/math/cabsl.c +++ b/math/cabsl.c @@ -1,5 +1,5 @@ /* Return the complex absolute value of long double complex value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -22,7 +22,7 @@ #include long double -__cabsl (long double complex z) +__cabsl (long double _Complex z) { return __hypotl (__real__ z, __imag__ z); } diff --git a/math/cimag.c b/math/cimag.c index 13efa1476e..ddd9b00708 100644 --- a/math/cimag.c +++ b/math/cimag.c @@ -1,5 +1,5 @@ /* Return imaginary part of complex double value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -21,7 +21,7 @@ #include double -__cimag (double complex z) +__cimag (double _Complex z) { return __imag__ z; } diff --git a/math/cimagf.c b/math/cimagf.c index 8edb4e613e..bef73eb46d 100644 --- a/math/cimagf.c +++ b/math/cimagf.c @@ -1,5 +1,5 @@ /* Return imaginary part of complex float value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -21,7 +21,7 @@ #include float -__cimagf (float complex z) +__cimagf (float _Complex z) { return __imag__ z; } diff --git a/math/cimagl.c b/math/cimagl.c index 9c58899274..b033413a0f 100644 --- a/math/cimagl.c +++ b/math/cimagl.c @@ -1,5 +1,5 @@ /* Return imaginary part of complex long double value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -21,7 +21,7 @@ #include long double -__cimagl (long double complex z) +__cimagl (long double _Complex z) { return __imag__ z; } diff --git a/math/conj.c b/math/conj.c index c15c417e4c..368c169274 100644 --- a/math/conj.c +++ b/math/conj.c @@ -1,5 +1,5 @@ /* Return complex conjugate of complex double value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -20,8 +20,8 @@ #include -double complex -__conj (double complex z) +double _Complex +__conj (double _Complex z) { return ~z; } diff --git a/math/conjf.c b/math/conjf.c index 828edaf2b7..5a3329acce 100644 --- a/math/conjf.c +++ b/math/conjf.c @@ -1,5 +1,5 @@ /* Return complex conjugate of complex float value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -20,8 +20,8 @@ #include -float complex -__conjf (float complex z) +float _Complex +__conjf (float _Complex z) { return ~z; } diff --git a/math/conjl.c b/math/conjl.c index 9e44dc32a1..6a4e105306 100644 --- a/math/conjl.c +++ b/math/conjl.c @@ -1,5 +1,5 @@ /* Return complex conjugate of complex long double value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -20,8 +20,8 @@ #include -long double complex -__conjl (long double complex z) +long double _Complex +__conjl (long double _Complex z) { return ~z; } diff --git a/math/creal.c b/math/creal.c index c3ec4f7802..09d9185ab5 100644 --- a/math/creal.c +++ b/math/creal.c @@ -1,5 +1,5 @@ /* Return real part of complex double value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -21,7 +21,7 @@ #include double -__creal (double complex z) +__creal (double _Complex z) { return __real__ z; } diff --git a/math/crealf.c b/math/crealf.c index bb9c2c1418..3930e4fca8 100644 --- a/math/crealf.c +++ b/math/crealf.c @@ -1,5 +1,5 @@ /* Return real part of complex float value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -21,7 +21,7 @@ #include float -__crealf (float complex z) +__crealf (float _Complex z) { return __real__ z; } diff --git a/math/creall.c b/math/creall.c index 0ab1aab2cb..fe485bb1b4 100644 --- a/math/creall.c +++ b/math/creall.c @@ -1,5 +1,5 @@ /* Return real part of complex long double value. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -21,7 +21,7 @@ #include long double -__creall (long double complex z) +__creall (long double _Complex z) { return __real__ z; } -- cgit 1.4.1