Commit 564b42a1 by Matthias Klose Committed by Toon Moene

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
parent 88c1e412
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
......
......@@ -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.)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment