summaryrefslogtreecommitdiff
path: root/sub1sp.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-25 10:57:16 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-25 10:57:16 +0000
commitb68f58c2b0296e05803f657eccf7f75b54da2f08 (patch)
tree253574825351c49cd8d119351a391e05b3f24bcd /sub1sp.c
parent8dd0bbfd0dc2fee95d214c962d013d97de22d084 (diff)
downloadmpfr-b68f58c2b0296e05803f657eccf7f75b54da2f08.tar.gz
Simplify the code.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2811 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sub1sp.c')
-rw-r--r--sub1sp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sub1sp.c b/sub1sp.c
index e5387a8c2..595408461 100644
--- a/sub1sp.c
+++ b/sub1sp.c
@@ -460,8 +460,7 @@ mpfr_sub1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode)
{
/* dm = 0 and m > 0: Just copy */
MPFR_ASSERTD(m!=0);
- /* Must use INCR since src & dest may overlap and dest <= src */
- MPN_COPY_INCR(cp, MPFR_MANT(c)+m, n-m);
+ MPN_COPY(cp, MPFR_MANT(c)+m, n-m);
MPN_ZERO(cp+n-m, m);
}
else if (MPFR_LIKELY(m == 0))