diff options
author | Matthias Klose <doko@marvin.itso-berlin.de> | 2000-11-19 18:57:05 +0000 |
---|---|---|
committer | Toon Moene <toon@gcc.gnu.org> | 2000-11-19 18:57:05 +0000 |
commit | 564b42a1442e78971d3e26ba8ad1fcc479190d11 (patch) | |
tree | bd4a8f9e5b8cafb64e42b97bcb5c5eb5b63bad3d /gcc | |
parent | 88c1e412e8672502644ea459413c9a90f00e0c91 (diff) | |
download | gcc-564b42a1442e78971d3e26ba8ad1fcc479190d11.zip gcc-564b42a1442e78971d3e26ba8ad1fcc479190d11.tar.gz gcc-564b42a1442e78971d3e26ba8ad1fcc479190d11.tar.bz2 |
g77.texi (Floating-point precision): Adjust example to work with glibc (>= 2.1).
Sun Nov 19 17:29:22 2000 Matthias Klose <doko@marvin.itso-berlin.de>
* g77.texi (Floating-point precision): Adjust example
to work with glibc (>= 2.1).
From-SVN: r37568
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/f/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/f/g77.texi | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index d2755dc..9cc87fb 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,8 @@ +Sun Nov 19 17:29:22 2000 Matthias Klose <doko@marvin.itso-berlin.de> + + * g77.texi (Floating-point precision): Adjust example + to work with glibc (>= 2.1). + Sat Nov 18 13:54:49 2000 Matthias Klose <doko@cs.tu-berlin.de> * g77.texi (Floating-point Exception Handling): Adjust diff --git a/gcc/f/g77.texi b/gcc/f/g77.texi index 3cc4b0f..72a793c 100644 --- a/gcc/f/g77.texi +++ b/gcc/f/g77.texi @@ -10476,9 +10476,12 @@ and m68k GNU systems you can do this with a technique similar to that for turning on floating-point exceptions (@pxref{Floating-point Exception Handling}). The control word could be set to double precision by -replacing the @code{__setfpucw} call with one like this: +replacing the @code{__setfpucw} call or the @code{_FPU_SETCW} macro with one like this: @smallexample - __setfpucw ((_FPU_DEFAULT & ~_FPU_EXTENDED) | _FPU_DOUBLE); +@{ + fpu_control_t cw = (_FPU_DEFAULT & ~_FPU_EXTENDED) | _FPU_DOUBLE; + _FPU_SETCW(cw); +@} @end smallexample (It is not clear whether this has any effect on the operation of the GNU maths library, but we have no evidence of it causing trouble.) |