diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-05-03 01:03:38 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-05-03 01:03:38 +0200 |
commit | aabe4b98ae98e644209cb472df7d4651bab07478 (patch) | |
tree | 7c17f8a63167aa9fb211b54b98723ff5eeac3cf8 /mpq | |
parent | eea7427e761faef321b6182d0815324b1b80a397 (diff) | |
download | gmp-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 'mpq')
-rw-r--r-- | mpq/abs.c | 2 | ||||
-rw-r--r-- | mpq/neg.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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_mpq_abs 1 + #include "gmp.h" #include "gmp-impl.h" @@ -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_mpq_neg 1 + #include "gmp.h" #include "gmp-impl.h" |