Mercurial > dropbear
comparison etc/pprime.c @ 386:97db060d0ef5 libtommath-orig libtommath-0.40
Update to LibTomMath 0.40
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 11 Jan 2007 03:11:15 +0000 |
parents | 91fbc376f010 |
children |
comparison
equal
deleted
inserted
replaced
282:91fbc376f010 | 386:97db060d0ef5 |
---|---|
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 $ */ |