diff options
author | kargl <kargl@FreeBSD.org> | 2013-06-03 18:57:35 +0000 |
---|---|---|
committer | kargl <kargl@FreeBSD.org> | 2013-06-03 18:57:35 +0000 |
commit | 1f81e8e0a39d8b471b432e644a47a090d7505e25 (patch) | |
tree | 5a63cbb139fce4cfcbd44bef5fb48145388cca31 /lib/msun/ld128 | |
parent | 94cb7ae86be9a73b845250368d2a4060055ccc10 (diff) | |
download | FreeBSD-src-1f81e8e0a39d8b471b432e644a47a090d7505e25.zip FreeBSD-src-1f81e8e0a39d8b471b432e644a47a090d7505e25.tar.gz |
Micro-optimization: move the unary mius operator to operate
on a literal constant.
Obtained from: bde
Diffstat (limited to 'lib/msun/ld128')
-rw-r--r-- | lib/msun/ld128/s_expl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/ld128/s_expl.c b/lib/msun/ld128/s_expl.c index a36d7af..a379ff0 100644 --- a/lib/msun/ld128/s_expl.c +++ b/lib/msun/ld128/s_expl.c @@ -261,7 +261,7 @@ expl(long double x) n2 = (unsigned)n % INTERVALS; k = n >> LOG2_INTERVALS; r1 = x - fn * L1; - r2 = -fn * L2; + r2 = fn * -L2; /* Prepare scale factors. */ v.xbits.manh = 0; |