Fix a bug where the wrong argument was passed to SET_FLOAT_WORD().
This bug results in a type mismatch that happens to be harmless because of the way SET_FLOAT_WORD() works. Submitted by: bde
This commit is contained in:
parent
5ffd745ec2
commit
b5209b6228
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218511
@ -50,8 +50,8 @@ nexttowardf(float x, long double y)
|
||||
if(ix<0x00800000) { /* underflow */
|
||||
t = x*x;
|
||||
if(t!=x) { /* raise underflow flag */
|
||||
SET_FLOAT_WORD(y,hx);
|
||||
return y;
|
||||
SET_FLOAT_WORD(x,hx);
|
||||
return x;
|
||||
}
|
||||
}
|
||||
SET_FLOAT_WORD(x,hx);
|
||||
|
Loading…
Reference in New Issue
Block a user