]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* include/fenv.h: Add libm_hidden_proto for fesetround and
authorUlrich Drepper <drepper@redhat.com>
Fri, 8 Jul 2005 18:54:49 +0000 (18:54 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 8 Jul 2005 18:54:49 +0000 (18:54 +0000)
feholdexcept.
* sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
* sysdeps/alpha/fpu/fesetround.c: Likewise.
* sysdeps/generic/feholdexcpt.c: Likewise.
* sysdeps/generic/fesetround.c: Likewise.
* sysdeps/i386/fpu/feholdexcpt.c: Likewise.
* sysdeps/i386/fpu/fesetround.c: Likewise.
* sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
* sysdeps/ia64/fpu/fesetround.c: Likewise.
* sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
* sysdeps/powerpc/fpu/fesetround.c: Likewise.
* sysdeps/s390/fpu/feholdexcpt.c: Likewise.
* sysdeps/s390/fpu/fesetround.c: Likewise.
* sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
* sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
* sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
* sysdeps/sparc/fpu/fesetround.c: Likewise.
* sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
* sysdeps/x86_64/fpu/fesetround.c: Likewise.
* sysdeps/generic/s_significand.c (__significand): Use __ilogb not
ilogb.
* sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
not ilogbf.

22 files changed:
ChangeLog
include/fenv.h
sysdeps/alpha/fpu/feholdexcpt.c
sysdeps/alpha/fpu/fesetround.c
sysdeps/generic/feholdexcpt.c
sysdeps/generic/fesetround.c
sysdeps/generic/s_significand.c
sysdeps/generic/s_significandf.c
sysdeps/i386/fpu/feholdexcpt.c
sysdeps/i386/fpu/fesetround.c
sysdeps/ia64/fpu/feholdexcpt.c
sysdeps/ia64/fpu/fesetround.c
sysdeps/powerpc/fpu/feholdexcpt.c
sysdeps/powerpc/fpu/fesetround.c
sysdeps/s390/fpu/feholdexcpt.c
sysdeps/s390/fpu/fesetround.c
sysdeps/sh/sh4/fpu/feholdexcpt.c
sysdeps/sh/sh4/fpu/fesetround.c
sysdeps/sparc/fpu/feholdexcpt.c
sysdeps/sparc/fpu/fesetround.c
sysdeps/x86_64/fpu/feholdexcpt.c
sysdeps/x86_64/fpu/fesetround.c

index 330b8ad78c1d06f0536375f1bcecd3b32c1e8a42..7011232c601e00e65b3e551db86949ddb85ed6dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,29 @@
 2005-07-08  Ulrich Drepper  <drepper@redhat.com>
 
+       * include/fenv.h: Add libm_hidden_proto for fesetround and
+       feholdexcept.
+       * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
+       * sysdeps/alpha/fpu/fesetround.c: Likewise.
+       * sysdeps/generic/feholdexcpt.c: Likewise.
+       * sysdeps/generic/fesetround.c: Likewise.
+       * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
+       * sysdeps/i386/fpu/fesetround.c: Likewise.
+       * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
+       * sysdeps/ia64/fpu/fesetround.c: Likewise.
+       * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
+       * sysdeps/powerpc/fpu/fesetround.c: Likewise.
+       * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
+       * sysdeps/s390/fpu/fesetround.c: Likewise.
+       * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
+       * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
+       * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
+       * sysdeps/sparc/fpu/fesetround.c: Likewise.
+       * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
+       * sysdeps/x86_64/fpu/fesetround.c: Likewise.
+       * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
+       ilogb.
+       * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
+       not ilogbf.
        * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
        __cos, not sin and cos.
 
index 206309179f8e1182f3523bbc7ddabd667334fe40..673eb4b9777a75f62935f5054bc104c91f03f0c3 100644 (file)
@@ -13,5 +13,7 @@ extern int __feupdateenv (__const fenv_t *__envp);
 
 libm_hidden_proto (feraiseexcept)
 libm_hidden_proto (fesetenv)
+libm_hidden_proto (fesetround)
+libm_hidden_proto (feholdexcept)
 
 #endif
index 77d4cc1180865495ea939975ebd87023342152ba..79aa970ac0f78834736354b32343b77f7c025a1f 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson <rth@tamu.edu>, 1997
 
@@ -31,3 +31,4 @@ feholdexcept (fenv_t *envp)
 
   return 0;
 }
+libm_hidden_def (feholdexcept)
index c4dc1960167391e65c347641bda927f58bb314f3..54b2bcf673b5ae9a52ce8eefec461e0095ab6548 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson <rth@tamu.edu>, 1997
 
@@ -40,3 +40,4 @@ fesetround (int round)
 
   return 0;
 }
+libm_hidden_def (fesetround)
index 927a6dc95cb6279fc2b0f3f07b1c11bccff3f023..8680d1e492863f51dccfca8afcb7b5c867dc0166 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -25,5 +25,6 @@ feholdexcept (fenv_t *envp)
 {
   return 1;            /* Signal failure.  */
 }
+libm_hidden_def (feholdexcept)
 stub_warning (feholdexcept)
 #include <stub-tag.h>
index e5a27d2aa0856160566507cd5decf07105d2f98e..5b148263901fad07bf03c47bcb2551b365b6b0c8 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -25,5 +25,6 @@ fesetround (int round)
 {
   return 1;    /* Signal we are unable to set the direction.  */
 }
+libm_hidden_def (fesetround)
 stub_warning (fesetround)
 #include <stub-tag.h>
index 4ab078c473f3be475cf435d81493b03f1e281c79..f95b6481c25442e54e71818894556577693f3c2e 100644 (file)
@@ -30,7 +30,7 @@ static char rcsid[] = "$NetBSD: s_significand.c,v 1.6 1995/05/10 20:48:11 jtc Ex
        double x;
 #endif
 {
-       return __ieee754_scalb(x,(double) -ilogb(x));
+       return __ieee754_scalb(x,(double) -__ilogb(x));
 }
 weak_alias (__significand, significand)
 #ifdef NO_LONG_DOUBLE
index 2893a4e1b7362bd7fa914677d1453c69439e06ff..cf5eb59efc84ee9162aff59cad540a1747986516 100644 (file)
@@ -8,7 +8,7 @@
  *
  * Developed at SunPro, a Sun Microsystems, Inc. business.
  * Permission to use, copy, modify, and distribute this
- * software is freely granted, provided that this notice 
+ * software is freely granted, provided that this notice
  * is preserved.
  * ====================================================
  */
@@ -27,6 +27,6 @@ static char rcsid[] = "$NetBSD: s_significandf.c,v 1.3 1995/05/10 20:48:13 jtc E
        float x;
 #endif
 {
-       return __ieee754_scalbf(x,(float) -ilogbf(x));
+       return __ieee754_scalbf(x,(float) -__ilogbf(x));
 }
 weak_alias (__significandf, significandf)
index 55096869a140212f17d0fc0124c5b982bf6e01df..feaa24b8d9fe757478c6b5fc22c84228420e622b 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997, 1999, 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -51,3 +51,4 @@ feholdexcept (fenv_t *envp)
 
   return 0;
 }
+libm_hidden_def (feholdexcept)
index 2746f3ebf3fa4d5d0cd0d0c0ac7b500c991e7f56..a868f275f0aa879dbca79f98683d8011db0cc0c4 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 1997, 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -50,3 +50,4 @@ fesetround (int round)
 
   return 0;
 }
+libm_hidden_def (fesetround)
index fd13de6c3595f15d0b49882d2ccccc4ac5c41f4d..27c9a1109e08f19ac7fe10aeeed0dbe92893a790 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2000, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Christian Boissat <Christian.Boissat@cern.ch>, 1999
 
@@ -31,3 +31,4 @@ feholdexcept (fenv_t *envp)
 
   return 1;
 }
+libm_hidden_def (feholdexcept)
index 26a6be4ea3122d6467f380f88a0c98304e6b262d..351bcc2f105e573f1865dd5fe38a05a1118be325 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Christian Boissat <Christian.Boissat@cern.ch>, 1999.
 
@@ -39,3 +39,4 @@ fesetround (int round)
 
   return 1;
 }
+libm_hidden_def (fesetround)
index 8ac875cc72981d013fca16f7fe4bf2c0ee19df1a..150becd678521fb36bba2672e96299375981ae80 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -36,3 +36,4 @@ feholdexcept (fenv_t *envp)
 
   return 0;
 }
+libm_hidden_def (feholdexcept)
index f7cd6af13556957fb7a0dc3fb84cdb1e8e4ae78f..67518d0df4f28952f1a8cc1cf03ab38f3c071f21 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -39,3 +39,4 @@ fesetround (int round)
 
   return 0;
 }
+libm_hidden_def (fesetround)
index 7fd7ea53cac2aefbc1ffeef99c4cee44d7c4130e..dee44dcee3a8636ec97b56373381bc2169873e25 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com).
 
@@ -32,3 +32,4 @@ int feholdexcept (fenv_t *envp)
   _FPU_SETCW ((envp->fpc & ~(FE_ALL_EXCEPT << FPC_EXCEPTION_MASK_SHIFT)));
   return 0;
 }
+libm_hidden_def (feholdexcept)
index 5f510fe0ad1e78c4a5550b666d871e0f2feecb70..d99f1db181914fe6a2fba7e0aa35cfef64c503f0 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com).
 
@@ -35,3 +35,4 @@ fesetround (int round)
 
   return 0;
 }
+libm_hidden_def (fesetround)
index dafb4f7daaf5c016a0a964d109d66ecf4da4a170..7aac5a0d39e71153d8e92ddcc51ac338401c8a68 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999, 2000, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -35,3 +35,4 @@ feholdexcept (fenv_t *envp)
 
   return 1;
 }
+libm_hidden_def (feholdexcept)
index 99668383872881e51ff159e264712fc3e547514a..cf4349004eb55c4dcec3052bb63ac02f4c140b06 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
 
@@ -41,3 +41,4 @@ fesetround (int round)
 
   return 1;
 }
+libm_hidden_def (fesetround)
index 3bd2b16cf16e768b45f54a81ddd45607d012aa88..729637ad1bbe9ca210b18f9fd404b824ed75b584 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -33,3 +33,4 @@ feholdexcept (fenv_t *envp)
 
   return 0;
 }
+libm_hidden_def (feholdexcept)
index b18b344516b1f179898626f2856f53faa347bc97..e3b441cd53f793dab54926dbd72db0259b0e8843 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -35,3 +35,4 @@ fesetround (int round)
 
   return 0;
 }
+libm_hidden_def (fesetround)
index db53d0f07f4fa87f3ac431d0eb72bf22f3641906..a9b21a3c25b696e82bd417aeed52aae5e9ef5235 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -39,3 +39,4 @@ feholdexcept (fenv_t *envp)
 
   return 0;
 }
+libm_hidden_def (feholdexcept)
index 429b7f1d0c11966d2c428072ee4a2a67a934b6d9..408116eee8effec44cb12503cabcc2f330538849 100644 (file)
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -44,3 +44,4 @@ fesetround (int round)
 
   return 0;
 }
+libm_hidden_def (fesetround)