diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-17 03:04:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-17 03:04:18 +0000 |
commit | 81e9dad67243a2ba7c4344e05a5e48b54efe991a (patch) | |
tree | 59f0642026a98ec415938a66395a1fcc85d90676 /math | |
parent | 0d8733c4fc3695c7987548d10c344445f3eb552d (diff) | |
download | glibc-81e9dad67243a2ba7c4344e05a5e48b54efe991a.tar.gz |
Update.
1997-03-17 04:00 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libmieee754/w_atan2.c: Don't ignore exception if library
type is SVID.
* sysdeps/libmieee754/w_atan2f.c: Likewise.
* sysdeps/libmieee754/w_atan2l.c: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h (msync): Add descrption for
FLAGS parameter.
1997-03-16 20:28 Philip Blundell <phil@london.uk.eu.org>
* sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
Change msg_iovlen and msg_controllen (in struct msghdr) to
`size_t' to keep in step with kernel.
* manual/examples/dir2.c: New example for scandir.
* math/test/float.c: New file. Frontend for float tests.
* math/test/double.c: New file. Frontend for double tests.
* math/test/longdouble.c: New file. Frontend for long double tests.
* sysdeps/ieee754/huge_val.h: Remove definition of long double
* sysdeps/libm-i387/s_scalbn.S: Likewise.
* sysdeps/libm-i387/s_scalbnf.S: Likewise.
* sysdeps/libm-i387/s_scalbnl.S: Likewise.
* sysdeps/libm-i387/s_expm1.S: Change return value for -inf
* sysdeps/libm-i387/s_expm1f.S: Likewise.
* sysdeps/libm-i387/s_expm1l.S: Likewise.
* sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
* sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first
* sysdeps/libm-ieee754/w_powf.c: Likewise.
* sysdeps/libm-ieee754/w_powl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
* nss/nss_files/files-hosts.c: Likewise.
Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
* nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
* posix/unistd.h: Add prototype for __euidaccess.
* sysdeps/stub/euidaccess.c: Likewise.
Diffstat (limited to 'math')
-rw-r--r-- | math/test-double.c | 29 | ||||
-rw-r--r-- | math/test-float.c | 29 | ||||
-rw-r--r-- | math/test-longdouble.c | 29 |
3 files changed, 87 insertions, 0 deletions
diff --git a/math/test-double.c b/math/test-double.c new file mode 100644 index 0000000000..5f562a098f --- /dev/null +++ b/math/test-double.c @@ -0,0 +1,29 @@ +/* Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Andreas Jaeger <aj@arthur.pfalz.de>, 1997. + + The GNU C Library 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. + + The GNU C Library 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 the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#define FUNC(function) function +#define MATHTYPE double +#define TEST_MSG "testing double (without inline functions)\n" +#define MATHCONST(x) x +#define CHOOSE(Clongdouble,Cdouble,Cfloat) Cdouble +#define PRINTF_EXPR "e" + +#define __NO_MATH_INLINES + +#include "libm-test.c" diff --git a/math/test-float.c b/math/test-float.c new file mode 100644 index 0000000000..fa9f2bcd9c --- /dev/null +++ b/math/test-float.c @@ -0,0 +1,29 @@ +/* Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Andreas Jaeger <aj@arthur.pfalz.de>, 1997. + + The GNU C Library 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. + + The GNU C Library 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 the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#define FUNC(function) function ## f +#define MATHTYPE float +#define TEST_MSG "testing float (without inline functions)\n" +#define MATHCONST(x) x +#define CHOOSE(Clongdouble,Cdouble,Cfloat) Cfloat +#define PRINTF_EXPR "e" + +#define __NO_MATH_INLINES + +#include "libm-test.c" diff --git a/math/test-longdouble.c b/math/test-longdouble.c new file mode 100644 index 0000000000..9eebe5a5e9 --- /dev/null +++ b/math/test-longdouble.c @@ -0,0 +1,29 @@ +/* Copyright (C) 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Andreas Jaeger <aj@arthur.pfalz.de>, 1997. + + The GNU C Library 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. + + The GNU C Library 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 the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#define FUNC(function) function##l +#define MATHTYPE long double +#define TEST_MSG "testing long double (without inline functions)\n" +#define MATHCONST(x) x##L +#define CHOOSE(Clongdouble,Cdouble,Cfloat) Clongdouble +#define PRINTF_EXPR "Le" + +#define __NO_MATH_INLINES + +#include "libm-test.c" |