(Rounding Issues, Rounding Control): Fix declarations in examples.
This commit is contained in:
parent
b244cb3218
commit
6214f7c8bf
3
fp.texi
3
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 ();
|
||||
|
|
Loading…
Reference in New Issue