diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-01-20 23:19:08 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-01-20 23:19:08 +0000 |
commit | 25774e4910f1b0e78708323c1199b52091f664c6 (patch) | |
tree | 0810ea4d367808a0a471fd4abf62ea1f7d5ac006 | |
parent | cbe8a7703b0c2cf36c6fe478d1ba3f7601e56698 (diff) |
Implement gcc suggestion of extra parentheses. No functional change.
ok guenther@
-rw-r--r-- | lib/libm/src/ld80/s_nextafterl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libm/src/ld80/s_nextafterl.c b/lib/libm/src/ld80/s_nextafterl.c index 8d4f1009a86..d71e29cac98 100644 --- a/lib/libm/src/ld80/s_nextafterl.c +++ b/lib/libm/src/ld80/s_nextafterl.c @@ -33,8 +33,8 @@ nextafterl(long double x, long double y) ix = esx&0x7fff; /* |x| */ iy = esy&0x7fff; /* |y| */ - if (((ix==0x7fff)&&((hx&0x7fffffff|lx)!=0)) || /* x is nan */ - ((iy==0x7fff)&&((hy&0x7fffffff|ly)!=0))) /* y is nan */ + if (((ix==0x7fff)&&(((hx&0x7fffffff)|lx)!=0)) || /* x is nan */ + ((iy==0x7fff)&&(((hy&0x7fffffff)|ly)!=0))) /* y is nan */ return x+y; if(x==y) return y; /* x=y, return y */ if((ix|hx|lx)==0) { /* x == 0 */ |