diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-02-25 10:57:16 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-02-25 10:57:16 +0000 |
commit | b68f58c2b0296e05803f657eccf7f75b54da2f08 (patch) | |
tree | 253574825351c49cd8d119351a391e05b3f24bcd /sub1sp.c | |
parent | 8dd0bbfd0dc2fee95d214c962d013d97de22d084 (diff) | |
download | mpfr-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)) |