diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2015-05-30 08:07:57 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2015-05-30 08:07:57 +0200 |
commit | 0187f2cf5771cd859d53e0ffcc5543180d90dab3 (patch) | |
tree | 51f1a96d001137ccff18ce6b16ad0d881c30f9fc /gmp-impl.h | |
parent | ed1d881a9fdcb4c2f22fb0453bf462de4497ce7b (diff) | |
download | gmp-0187f2cf5771cd859d53e0ffcc5543180d90dab3.tar.gz |
Make mpn_zero_p public (inline).
Diffstat (limited to 'gmp-impl.h')
-rw-r--r-- | gmp-impl.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index 46e42ecfd..c274d3a8b 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -4656,17 +4656,6 @@ mpn_sub_nc (mp_ptr rp, mp_srcptr up, mp_srcptr vp, mp_size_t n, mp_limb_t ci) } #endif -static inline int -mpn_zero_p (mp_srcptr ap, mp_size_t n) -{ - while (--n >= 0) - { - if (ap[n] != 0) - return 0; - } - return 1; -} - #if TUNE_PROGRAM_BUILD /* Some extras wanted when recompiling some .c files for use by the tune program. Not part of a normal build. |