summaryrefslogtreecommitdiff
path: root/mpf/neg.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-05-03 01:03:38 +0200
committerKevin Ryde <user42@zip.com.au>2001-05-03 01:03:38 +0200
commitaabe4b98ae98e644209cb472df7d4651bab07478 (patch)
tree7c17f8a63167aa9fb211b54b98723ff5eeac3cf8 /mpf/neg.c
parenteea7427e761faef321b6182d0815324b1b80a397 (diff)
downloadgmp-aabe4b98ae98e644209cb472df7d4651bab07478.tar.gz
* gmp-h.in (__GMP_EXTERN_INLINE, __GMP_ABS): New macros.
(mpz_abs, mpq_abs, mpf_abs, mpz_neg, mpq_neg, mpf_neg): Provide inline versions. * mpz/abs.c, mpq/abs.c, mpf/abs.c, mpz/neg.c, mpq/neg.c, mpf/neg.c: Add suitable __GMP_FORCE to turn off inline versions.
Diffstat (limited to 'mpf/neg.c')
-rw-r--r--mpf/neg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpf/neg.c b/mpf/neg.c
index 5e628e9bf..e02caec16 100644
--- a/mpf/neg.c
+++ b/mpf/neg.c
@@ -19,6 +19,8 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
+#define __GMP_FORCE_mpf_neg 1
+
#include "gmp.h"
#include "gmp-impl.h"