Commit d65b6f40c0088e28e03a8a4513f2ec2f842ff0ad

czurnieden 2018-12-30T22:09:12

reg. #143 corrected translation of mpz_fdiv_q_2exp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/bn_mp_prime_strong_lucas_selfridge.c b/bn_mp_prime_strong_lucas_selfridge.c
index 301a512..ca4755d 100644
--- a/bn_mp_prime_strong_lucas_selfridge.c
+++ b/bn_mp_prime_strong_lucas_selfridge.c
@@ -58,15 +58,6 @@ LBL_MPMULSI_ERR:
    mp_clear(&t);
    return err;
 }
-#include <unistd.h>
-/*
-static void ltm_print(const char *s, mp_int *a){
-  printf("%s",s);
-  mp_fwrite(a,10,stdout);  fflush(stdout);
-  puts("\n");
-  fflush(stdout);
-}
-*/
 /*
     Strong Lucas-Selfridge test.
     returns MP_YES if it is a strong L-S prime, MP_NO if it is composite