]> gcc.gnu.org Git - gcc.git/commitdiff
g77.texi (Floating-point precision): Adjust example to work with glibc (>= 2.1).
authorMatthias Klose <doko@marvin.itso-berlin.de>
Sun, 19 Nov 2000 18:57:05 +0000 (18:57 +0000)
committerToon Moene <toon@gcc.gnu.org>
Sun, 19 Nov 2000 18:57:05 +0000 (18:57 +0000)
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

gcc/f/ChangeLog
gcc/f/g77.texi

index d2755dc951e96682c0d9a2e574f68b127b9d1557..9cc87fbfe661acf4210273b8535e0f75a3d55137 100644 (file)
@@ -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
index 3cc4b0ff105ec79b2eb505578b5365fe7b978959..72a793c76c23a6de3b386d6091f7749779abbcfd 100644 (file)
@@ -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.)
This page took 0.084391 seconds and 5 git commands to generate.