Fix a bug where the wrong argument was passed to INSERT_WORDS().
This bug results in a type mismatch that happens to be harmless because of the way INSERT_WORDS() works. Submitted by: bde
This commit is contained in:
parent
e044d80d08
commit
5ffd745ec2
@ -63,8 +63,8 @@ nexttoward(double x, long double y)
|
|||||||
if(ix<0x00100000) { /* underflow */
|
if(ix<0x00100000) { /* underflow */
|
||||||
t = x*x;
|
t = x*x;
|
||||||
if(t!=x) { /* raise underflow flag */
|
if(t!=x) { /* raise underflow flag */
|
||||||
INSERT_WORDS(y,hx,lx);
|
INSERT_WORDS(x,hx,lx);
|
||||||
return y;
|
return x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
INSERT_WORDS(x,hx,lx);
|
INSERT_WORDS(x,hx,lx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user