summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-10 19:11:20 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-10 19:11:20 +0000
commit74eee8866db0c7e01216e6a73b9b19414a95b04b (patch)
tree6eb38ac5d1bd836ae9a95c4b76b3a56f4bb28b97 /math
parent1792d4dbdace6ebddafee6694d7919e93b0ad335 (diff)
Update.
1998-11-10 Ulrich Drepper <drepper@cygnus.com> * 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 <aj@arthur.rhein-neckar.de> * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by <complex.h>. * 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 <drepper@cygnus.com> * extra-lib.mk: Fix typo in last change.
Diffstat (limited to 'math')
-rw-r--r--math/cabs.c4
-rw-r--r--math/cabsf.c4
-rw-r--r--math/cabsl.c4
-rw-r--r--math/cimag.c4
-rw-r--r--math/cimagf.c4
-rw-r--r--math/cimagl.c4
-rw-r--r--math/conj.c6
-rw-r--r--math/conjf.c6
-rw-r--r--math/conjl.c6
-rw-r--r--math/creal.c4
-rw-r--r--math/crealf.c4
-rw-r--r--math/creall.c4
12 files changed, 27 insertions, 27 deletions
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 <drepper@cygnus.com>, 1997.
@@ -22,7 +22,7 @@
#include <math.h>
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 <drepper@cygnus.com>, 1997.
@@ -22,7 +22,7 @@
#include <math.h>
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 <drepper@cygnus.com>, 1997.
@@ -22,7 +22,7 @@
#include <math.h>
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 <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
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 <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
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 <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
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 <drepper@cygnus.com>, 1997.
@@ -20,8 +20,8 @@
#include <complex.h>
-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 <drepper@cygnus.com>, 1997.
@@ -20,8 +20,8 @@
#include <complex.h>
-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 <drepper@cygnus.com>, 1997.
@@ -20,8 +20,8 @@
#include <complex.h>
-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 <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
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 <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
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 <drepper@cygnus.com>, 1997.
@@ -21,7 +21,7 @@
#include <complex.h>
long double
-__creall (long double complex z)
+__creall (long double _Complex z)
{
return __real__ z;
}