diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/feholdexcpt.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/fesetround.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/s_significand.c | 2 | ||||
-rw-r--r-- | sysdeps/generic/s_significandf.c | 4 |
4 files changed, 7 insertions, 5 deletions
diff --git a/sysdeps/generic/feholdexcpt.c b/sysdeps/generic/feholdexcpt.c index 927a6dc95c..8680d1e492 100644 --- a/sysdeps/generic/feholdexcpt.c +++ b/sysdeps/generic/feholdexcpt.c @@ -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> diff --git a/sysdeps/generic/fesetround.c b/sysdeps/generic/fesetround.c index e5a27d2aa0..5b14826390 100644 --- a/sysdeps/generic/fesetround.c +++ b/sysdeps/generic/fesetround.c @@ -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> diff --git a/sysdeps/generic/s_significand.c b/sysdeps/generic/s_significand.c index 4ab078c473..f95b6481c2 100644 --- a/sysdeps/generic/s_significand.c +++ b/sysdeps/generic/s_significand.c @@ -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 diff --git a/sysdeps/generic/s_significandf.c b/sysdeps/generic/s_significandf.c index 2893a4e1b7..cf5eb59efc 100644 --- a/sysdeps/generic/s_significandf.c +++ b/sysdeps/generic/s_significandf.c @@ -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) |