summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorkargl <kargl@FreeBSD.org>2013-06-03 20:09:22 +0000
committerkargl <kargl@FreeBSD.org>2013-06-03 20:09:22 +0000
commit97a99ebeffddde27d7050ccc6dddaf185ffc4d1f (patch)
treed07365ae5d45c9c9faa6f5ea9ab5bc2278cc9ee4 /lib/msun
parent168748877560341a69fdd938fc3245fe4b2dae0c (diff)
downloadFreeBSD-src-97a99ebeffddde27d7050ccc6dddaf185ffc4d1f.zip
FreeBSD-src-97a99ebeffddde27d7050ccc6dddaf185ffc4d1f.tar.gz
Change a comma to a semicolon.
Remove a blank line that crept into the declarations. Fix a comment to show a sign on a NaN.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/ld128/s_expl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/msun/ld128/s_expl.c b/lib/msun/ld128/s_expl.c
index 4d5e5bc..176c932 100644
--- a/lib/msun/ld128/s_expl.c
+++ b/lib/msun/ld128/s_expl.c
@@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$");
static const long double
huge = 0x1p10000L,
-twom10000 = 0x1p-10000L,
+twom10000 = 0x1p-10000L;
/* XXX Prevent gcc from erroneously constant folding this: */
static volatile const long double tiny = 0x1p-10000L;
@@ -231,7 +231,6 @@ expl(long double x)
union IEEEl2bits u, v;
long double q, r, r1, t, twopk, twopkp10000;
double dr, fn, r2;
-
int k, n, n2;
uint16_t hx, ix;
@@ -243,7 +242,7 @@ expl(long double x)
if (ix == BIAS + LDBL_MAX_EXP) {
if (hx & 0x8000) /* x is -Inf or -NaN */
return (-1 / x);
- return (x + x); /* x is +Inf or NaN */
+ return (x + x); /* x is +Inf or +NaN */
}
if (x > o_threshold)
return (huge * huge);
OpenPOWER on IntegriCloud