Mercurial > dropbear
comparison libtommath/etc/pprime.c @ 435:337c45621e81
merge of 'a9b0496634cdd25647b65e585cc3240f3fa699ee'
and 'c22be8b8f570b48e9662dac32c7b3e7148a42206'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 22 Feb 2007 14:53:49 +0000 |
parents | 5ff8218bcee9 |
children | 60fc6476e044 |
comparison
equal
deleted
inserted
replaced
434:0aaaf68e97dc | 435:337c45621e81 |
---|---|
1 /* Generates provable primes | 1 /* Generates provable primes |
2 * | 2 * |
3 * See http://iahu.ca:8080/papers/pp.pdf for more info. | 3 * See http://gmail.com:8080/papers/pp.pdf for more info. |
4 * | 4 * |
5 * Tom St Denis, [email protected], http://tom.iahu.ca | 5 * Tom St Denis, [email protected], http://tom.gmail.com |
6 */ | 6 */ |
7 #include <time.h> | 7 #include <time.h> |
8 #include "tommath.h" | 8 #include "tommath.h" |
9 | 9 |
10 int n_prime; | 10 int n_prime; |
392 mp_toradix (&q, buf, 10); | 392 mp_toradix (&q, buf, 10); |
393 printf ("Q == %s\n", buf); | 393 printf ("Q == %s\n", buf); |
394 | 394 |
395 return 0; | 395 return 0; |
396 } | 396 } |
397 | |
398 /* $Source: /cvs/libtom/libtommath/etc/pprime.c,v $ */ | |
399 /* $Revision: 1.3 $ */ | |
400 /* $Date: 2006/03/31 14:18:47 $ */ |