]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 26 Feb 1998 16:30:54 +0000 (16:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 26 Feb 1998 16:30:54 +0000 (16:30 +0000)
1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>

* math/test-fenv.c (print_rounding): Fix a typo in
FE_TOWARDSZERO.

* sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.

1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.

1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makefile.in: Disable built-in rules.

1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/i386/fpu/t_exp.c: Move to ...
* sysdeps/libm-i387/t_exp.c: ... here.

1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>

* sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
from __exp2_deltatable.

ChangeLog
Makefile.in
nis/ypclnt.c
stdio-common/vfscanf.c
sysdeps/alpha/fpu/fraiseexcpt.c
sysdeps/i386/fpu/fesetenv.c
sysdeps/libm-i387/t_exp.c [moved from sysdeps/i386/fpu/t_exp.c with 100% similarity]
sysdeps/libm-ieee754/s_exp2f.c

index ca8e3f39766fa039f912796f4e73186eef1e4a8d..b327254c539de971a1a9ffdabd65998ffe2a0d81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
+
+       * math/test-fenv.c (print_rounding): Fix a typo in
+       FE_TOWARDSZERO.
+
+       * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
+       for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
+
+1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
+
+       * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
+
+1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
+
+       * Makefile.in: Disable built-in rules.
+
+1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * sysdeps/i386/fpu/t_exp.c: Move to ...
+       * sysdeps/libm-i387/t_exp.c: ... here.
+
+1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
+
+       * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
+       from __exp2_deltatable.
+
 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
 
        * nis/ypclnt.c (yp_master): Check result of strdup.
index 8c3fe4ad652e496402da9924562abc61a565460b..be34fd3097353b3f38c3c095c4bbcffa72fe2cc3 100644 (file)
@@ -11,4 +11,4 @@ srcdir = @srcdir@
 # CVSOPTS = -z9
 
 all .DEFAULT:
-       $(MAKE) PARALLELMFLAGS="$(PARALLELMFLAGS)" CVSOPTS="$(CVSOPTS)" -C $(srcdir) objdir=`pwd` $@
+       $(MAKE) -r PARALLELMFLAGS="$(PARALLELMFLAGS)" CVSOPTS="$(CVSOPTS)" -C $(srcdir) objdir=`pwd` $@
index 5b4cab3e8b9078458e60e10fb3a51364730029e7..9b936457a548dea779c3025ea3eff694c6e8603d 100644 (file)
@@ -269,7 +269,7 @@ do_ypcall (const char *domain, u_long prog, xdrproc_t xargs,
   else
     __libc_lock_unlock (ypbindlist_lock);
 
-  while (try < MAXTRIES && status != YPERR_SUCCESS))
+  while (try < MAXTRIES && status != YPERR_SUCCESS)
     {
       if (__yp_bind (domain, &ydb) != 0)
        {
index bad37f2ad1640182774ce5e8f34f2a724d188588..8ed56b3c08ca3cded0eae4e9f8491460ae51513b 100644 (file)
 #else
 # define ungetc(c, s)  ((void) (c != EOF && --read_in), ungetc (c, s))
 # define inchar()      (c == EOF ? EOF                                       \
-                        : (c = getc (s)), (void) (c != EOF && ++read_in), c)
+                        : ((c = getc (s)), (void) (c != EOF && ++read_in), c))
 # define encode_error()        do {                                                  \
                          funlockfile (s);                                    \
                          __set_errno (EILSEQ);                               \
index 6a53e55e7d78226dfd161abbf8bd4313cd119350..c2a96e3f8724db2352a3800a3f75c49243c35a2f 100644 (file)
@@ -1,5 +1,5 @@
 /* Raise given exceptions.
-   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 Richard Henderson <rth@tamu.edu>, 1997.
 
@@ -24,7 +24,7 @@
 void
 feraiseexcept (int excepts)
 {
-  double tmp;
+  double tmp, dummy;
 
   /* Raise exceptions represented by EXPECTS.  But we must raise only
      one signal at a time.  It is important the if the overflow/underflow
@@ -45,8 +45,8 @@ feraiseexcept (int excepts)
   /* Next: division by zero.  */
   if (FE_DIVBYZERO & excepts)
     {
-      __asm__ __volatile__("cmpteq $f31,$f31,%0; divt/sui %0,$f31,%0; trapb"
-                          : "=f"(tmp));
+      __asm__ __volatile__("cmpteq $f31,$f31,%1; divt/sui %1,$f31,%0; trapb"
+                          : "=f"(tmp), "=f"(dummy));
     }
 
   /* Next: overflow.  */
@@ -60,7 +60,8 @@ feraiseexcept (int excepts)
   if (FE_UNDERFLOW & excepts)
     {
       __asm__ __volatile__("divt/sui %1,%2,%0; trapb"
-                          : "=f"(tmp) : "f"(DBL_MIN), "f"(16.0));
+                          : "=f"(tmp) : "f"(DBL_MIN),
+                                        "f"((double) (1UL << 60)));
     }
 
   /* Last: inexact.  */
index 3faf01a56823c92c692a464ab89137ae5d366053..3641bb82d371c48e81ded9925c7fae8fbfb2cd1c 100644 (file)
@@ -40,7 +40,7 @@ fesetenv (const fenv_t *envp)
   if (envp == FE_DFL_ENV)
     {
       temp.control_word |= FE_ALL_EXCEPT;
-      temp.control_word &= ~FE_TOWARDSZERO;
+      temp.control_word &= ~FE_TOWARDZERO;
       temp.status_word &= ~FE_ALL_EXCEPT;
       temp.eip = 0;
       temp.cs_selector = 0;
index 11c5d55e2ef263dee37e29e9a174677455cf34c0..428f46f24104db42ce87c511b26db79e6156cafa 100644 (file)
@@ -94,7 +94,7 @@ __ieee754_exp2f (float x)
       /* 'tval & 255' is the same as 'tval%256' except that it's always
         positive.
         Compute x = x2.  */
-      x -= __exp2_deltatable[tval & 255];
+      x -= __exp2f_deltatable[tval & 255];
 
       /* 3. Compute ex2 = 2^(t/255+e+ex).  */
       ex2_u.f = __exp2f_atable[tval & 255];