summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr/mpfr-src/src/swap.c
diff options
context:
space:
mode:
authorDenis Bitouzé <dbitouze@wanadoo.fr>2021-02-25 18:23:07 +0000
committerDenis Bitouzé <dbitouze@wanadoo.fr>2021-02-25 18:23:07 +0000
commitc6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch)
tree1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/libs/mpfr/mpfr-src/src/swap.c
parent07ee7222e389b0777456b427a55c22d0e6ffd267 (diff)
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/swap.c')
-rw-r--r--Build/source/libs/mpfr/mpfr-src/src/swap.c54
1 files changed, 0 insertions, 54 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/swap.c b/Build/source/libs/mpfr/mpfr-src/src/swap.c
deleted file mode 100644
index bd461d44059..00000000000
--- a/Build/source/libs/mpfr/mpfr-src/src/swap.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/* mpfr_swap (U, V) -- Swap U and V.
-
-Copyright 2000-2004, 2006-2020 Free Software Foundation, Inc.
-Contributed by the AriC and Caramba projects, INRIA.
-
-This file is part of the GNU MPFR Library.
-
-The GNU MPFR Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 3 of the License, or (at your
-option) any later version.
-
-The GNU MPFR Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
-License for more details.
-
-You should have received a copy of the GNU Lesser General Public License
-along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
-https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
-51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-
-#include "mpfr-impl.h"
-
-/* Using memcpy is a few slower than swapping by hand. */
-
-void
-mpfr_swap (mpfr_ptr u, mpfr_ptr v)
-{
- mpfr_prec_t p1, p2;
- mpfr_sign_t s1, s2;
- mpfr_exp_t e1, e2;
- mp_limb_t *m1, *m2;
-
- p1 = MPFR_PREC(u);
- p2 = MPFR_PREC(v);
- MPFR_PREC(v) = p1;
- MPFR_PREC(u) = p2;
-
- s1 = MPFR_SIGN(u);
- s2 = MPFR_SIGN(v);
- MPFR_SIGN(v) = s1;
- MPFR_SIGN(u) = s2;
-
- e1 = MPFR_EXP(u);
- e2 = MPFR_EXP(v);
- MPFR_EXP(v) = e1;
- MPFR_EXP(u) = e2;
-
- m1 = MPFR_MANT(u);
- m2 = MPFR_MANT(v);
- MPFR_MANT(v) = m1;
- MPFR_MANT(u) = m2;
-}