aboutsummaryrefslogtreecommitdiff
path: root/lib/msun
diff options
context:
space:
mode:
authorBen Laurie <benl@FreeBSD.org>2011-06-18 13:56:33 +0000
committerBen Laurie <benl@FreeBSD.org>2011-06-18 13:56:33 +0000
commit5f301949ef1a0e2444e6a0b6700c8bcf400498fc (patch)
tree6edd0c06e1319e9f8e2572723af2f2d72fabda97 /lib/msun
parentf404863979cd0d00193099825904396d5f30cb34 (diff)
downloadsrc-5f301949ef1a0e2444e6a0b6700c8bcf400498fc.tar.gz
src-5f301949ef1a0e2444e6a0b6700c8bcf400498fc.zip
Fix clang warnings.
Approved by: philip (mentor)
Notes
Notes: svn path=/head/; revision=223262
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/ld80/e_rem_pio2l.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/ld80/e_rem_pio2l.h b/lib/msun/ld80/e_rem_pio2l.h
index 81a5ab61592c..75e4e4bc1abc 100644
--- a/lib/msun/ld80/e_rem_pio2l.h
+++ b/lib/msun/ld80/e_rem_pio2l.h
@@ -82,7 +82,7 @@ __ieee754_rem_pio2l(long double x, long double *y)
u.e = x;
expsign = u.xbits.expsign;
ex = expsign & 0x7fff;
- if (ex < BIAS + 25 || ex == BIAS + 25 && u.bits.manh < 0xc90fdaa2) {
+ if (ex < BIAS + 25 || (ex == BIAS + 25 && u.bits.manh < 0xc90fdaa2)) {
/* |x| ~< 2^25*(pi/2), medium size */
/* Use a specialized rint() to get fn. Assume round-to-nearest. */
fn = x*invpio2+0x1.8p63;