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.
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.
libm_hidden_proto (feraiseexcept)
libm_hidden_proto (fesetenv)
+libm_hidden_proto (fesetround)
+libm_hidden_proto (feholdexcept)
#endif
/* 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
return 0;
}
+libm_hidden_def (feholdexcept)
/* 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
return 0;
}
+libm_hidden_def (fesetround)
/* 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.
{
return 1; /* Signal failure. */
}
+libm_hidden_def (feholdexcept)
stub_warning (feholdexcept)
#include <stub-tag.h>
/* 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.
{
return 1; /* Signal we are unable to set the direction. */
}
+libm_hidden_def (fesetround)
stub_warning (fesetround)
#include <stub-tag.h>
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
*
* 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.
* ====================================================
*/
float x;
#endif
{
- return __ieee754_scalbf(x,(float) -ilogbf(x));
+ return __ieee754_scalbf(x,(float) -__ilogbf(x));
}
weak_alias (__significandf, significandf)
/* 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.
return 0;
}
+libm_hidden_def (feholdexcept)
/* 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.
return 0;
}
+libm_hidden_def (fesetround)
/* 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
return 1;
}
+libm_hidden_def (feholdexcept)
/* 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.
return 1;
}
+libm_hidden_def (fesetround)
/* 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
return 0;
}
+libm_hidden_def (feholdexcept)
/* 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.
return 0;
}
+libm_hidden_def (fesetround)
/* 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).
_FPU_SETCW ((envp->fpc & ~(FE_ALL_EXCEPT << FPC_EXCEPTION_MASK_SHIFT)));
return 0;
}
+libm_hidden_def (feholdexcept)
/* 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).
return 0;
}
+libm_hidden_def (fesetround)
/* 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
return 1;
}
+libm_hidden_def (feholdexcept)
/* 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.
return 1;
}
+libm_hidden_def (fesetround)
/* 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
return 0;
}
+libm_hidden_def (feholdexcept)
/* 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
return 0;
}
+libm_hidden_def (fesetround)
/* 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
return 0;
}
+libm_hidden_def (feholdexcept)
/* 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
return 0;
}
+libm_hidden_def (fesetround)