diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2012-04-20 09:32:28 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2012-04-20 09:32:28 +0200 |
commit | 6d8b9e00b9a3a0cef55d98509f9de4fc50207a2e (patch) | |
tree | 0b280991b26a32cb3b1325ebead52e6ce8b0a1bc /mpz/2fac_ui.c | |
parent | bec624e41db92021f1cbbe560ff2bda07caa64f3 (diff) | |
download | gmp-6d8b9e00b9a3a0cef55d98509f9de4fc50207a2e.tar.gz |
Move LOG2C to gmp-impl.h
Diffstat (limited to 'mpz/2fac_ui.c')
-rw-r--r-- | mpz/2fac_ui.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mpz/2fac_ui.c b/mpz/2fac_ui.c index 436f15499..a9d5cc419 100644 --- a/mpz/2fac_ui.c +++ b/mpz/2fac_ui.c @@ -24,14 +24,6 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #include "fac_ui.h" -/* This is intended for constant THRESHOLDs only, where the compiler - can completely fold the result. */ -#define LOG2C(n) \ - (((n) >= 0x1) + ((n) >= 0x2) + ((n) >= 0x4) + ((n) >= 0x8) + \ - ((n) >= 0x10) + ((n) >= 0x20) + ((n) >= 0x40) + ((n) >= 0x80) + \ - ((n) >= 0x100) + ((n) >= 0x200) + ((n) >= 0x400) + ((n) >= 0x800) + \ - ((n) >= 0x1000) + ((n) >= 0x2000) + ((n) >= 0x4000) + ((n) >= 0x8000)) - #define FACTOR_LIST_STORE(P, PR, MAX_PR, VEC, I) \ do { \ if ((PR) > (MAX_PR)) { \ |