diff options
author | tege <tege@gmplib.org> | 1999-12-14 01:49:44 +0100 |
---|---|---|
committer | tege <tege@gmplib.org> | 1999-12-14 01:49:44 +0100 |
commit | cd31df9aedc3efd535141f097cc6a2c3da2aa9ba (patch) | |
tree | 081b6ca740ccc53a8706d5c52603394d0395695b /gmp.h | |
parent | 8c4d50301f4ac60db04e58c6b70c479c12bc40e8 (diff) | |
download | gmp-cd31df9aedc3efd535141f097cc6a2c3da2aa9ba.tar.gz |
(mpn_divrem): Inhibit for non-gcc.
Diffstat (limited to 'gmp.h')
-rw-r--r-- | gmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -881,6 +881,7 @@ mpn_sub (res_ptr, s1_ptr, s1_size, s2_ptr, s2_size) } #endif /* __GNUC__ */ +#if defined (__GNUC__) || defined (_FORCE_INLINES) _EXTERN_INLINE mp_limb_t #if (__STDC__-0) || defined (__cplusplus) mpn_divrem (mp_ptr _gmp_qp, mp_size_t _gmp_qn, @@ -926,6 +927,7 @@ mpn_divrem (_gmp_qp, _gmp_qn, _gmp_np, _gmp_nn, _gmp_dp, _gmp_dn) /* In the remaining cases, use classic division. */ return mpn_divrem_classic (_gmp_qp, _gmp_qn, _gmp_np, _gmp_nn, _gmp_dp, _gmp_dn); } +#endif /* Allow faster testing for negative, zero, and positive. */ #define mpz_sgn(Z) ((Z)->_mp_size < 0 ? -1 : (Z)->_mp_size > 0) |