summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-06 22:47:29 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-06 22:47:29 +0000
commitbb769ab68fd7abf1b3ab4e838e6f4b9ebfafd9c6 (patch)
treeabe5b2bcfde08e73e13cca5c5b37e2fa0eaff2e4 /sysdeps/generic
parent1a51bde7717d8f0458b682576029576225cf874f (diff)
downloadglibc-bb769ab68fd7abf1b3ab4e838e6f4b9ebfafd9c6.tar.gz
glibc-bb769ab68fd7abf1b3ab4e838e6f4b9ebfafd9c6.tar.xz
glibc-bb769ab68fd7abf1b3ab4e838e6f4b9ebfafd9c6.zip
Update.
2001-04-06  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
	available.
	* sysdeps/generic/e_scalbf.c: Likewise.
	* sysdeps/generic/e_scalbl.c: Likewise.
	Patch by Mark Hatle <fray@mvista.com>.

2001-04-05  David S. Miller  <davem@redhat.com>

	* sysdeps/sparc/abort-instr.h: New file.

2001-04-05  Matt Wilson  <msw@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
	added code to parse new 2.4 format.
	(GET_NPROCS_CONF_PARSER): Likewise.

2001-04-05  David S. Miller  <davem@redhat.com>

	* scripts/config.sub: Recognize sparcv9b like sparcv9.
	* configure.in: Add sparcv9b.
	* sysdeps/sparc/sparc32/sparcv9b/Implies: New file
	* sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
	* sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/e_scalb.c4
-rw-r--r--sysdeps/generic/e_scalbf.c4
-rw-r--r--sysdeps/generic/e_scalbl.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/generic/e_scalb.c b/sysdeps/generic/e_scalb.c
index 2e4094390a..a7664db546 100644
--- a/sysdeps/generic/e_scalb.c
+++ b/sysdeps/generic/e_scalb.c
@@ -50,14 +50,18 @@ static char rcsid[] = "$NetBSD: e_scalb.c,v 1.6 1995/05/10 20:46:09 jtc Exp $";
 	      return x;
 	    else if (!__finite (x))
 	      {
+# ifdef FE_INVALID
 		feraiseexcept (FE_INVALID);
+# endif
 		return __nan ("");
 	      }
 	    else       return x/(-fn);
 	}
 	if (__rint(fn)!=fn)
 	  {
+# ifdef FE_INVALID
 	    feraiseexcept (FE_INVALID);
+# endif
 	    return __nan ("");
 	  }
 	if ( fn > 65000.0) return __scalbn(x, 65000);
diff --git a/sysdeps/generic/e_scalbf.c b/sysdeps/generic/e_scalbf.c
index 9d769f4ce1..5c6326bc16 100644
--- a/sysdeps/generic/e_scalbf.c
+++ b/sysdeps/generic/e_scalbf.c
@@ -47,14 +47,18 @@ static char rcsid[] = "$NetBSD: e_scalbf.c,v 1.3 1995/05/10 20:46:12 jtc Exp $";
 	      return x;
 	    else if (!__finitef (x))
 	      {
+# ifdef FE_INVALID
 		feraiseexcept (FE_INVALID);
+# endif
 		return __nanf ("");
 	      }
 	    else       return x/(-fn);
 	}
 	if (__rintf(fn)!=fn)
 	  {
+# ifdef FE_INVALID
 	    feraiseexcept (FE_INVALID);
+# endif
 	    return __nanf ("");
 	  }
 	if ( fn > (float)65000.0) return __scalbnf(x, 65000);
diff --git a/sysdeps/generic/e_scalbl.c b/sysdeps/generic/e_scalbl.c
index fb2914dc5a..a34369c0b5 100644
--- a/sysdeps/generic/e_scalbl.c
+++ b/sysdeps/generic/e_scalbl.c
@@ -54,14 +54,18 @@ static char rcsid[] = "$NetBSD: $";
 	      return x;
 	    else if (!__finitel (x))
 	      {
+# ifdef FE_INVALID
 		feraiseexcept (FE_INVALID);
+# endif
 		return __nanl ("");
 	      }
 	    else       return x/(-fn);
 	}
 	if (__rintl(fn)!=fn)
 	  {
+# ifdef FE_INVALID
 	    feraiseexcept (FE_INVALID);
+# endif
 	    return __nanl ("");
 	  }
 	if ( fn > 65000.0) return __scalbnl(x, 65000);