From 6214f7c8bfbef56cf358d84e55f63c65314584e2 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 2 Oct 2022 07:53:34 -0400 Subject: [PATCH] (Rounding Issues, Rounding Control): Fix declarations in examples. --- fp.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fp.texi b/fp.texi index 8824dd8..01ebae2 100644 --- a/fp.texi +++ b/fp.texi @@ -532,6 +532,7 @@ int main (void) @{ double x = 100.0; double y; + int n, k; for (n = 10; n <= 100; n += 10) @{ y = x; @@ -1127,7 +1128,7 @@ can write code like this example for interval addition of two reals: @{ double hi, lo; @} v; - volatile double x, y; + extern volatile double x, y; int rule; rule = fegetround ();