mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
libsec: update primetest to use mpfmt
R=rsc http://codereview.appspot.com/464041
This commit is contained in:
parent
ddfc031c3b
commit
a1afc8529d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ main(void)
|
|||
mpint *q = mpnew(0);
|
||||
mpint *nine = mpnew(0);
|
||||
|
||||
fmtinstall('B', mpconv);
|
||||
fmtinstall('B', mpfmt);
|
||||
strtomp("2492491", nil, 16, z); /* 38347921 = x*y = (2**28-9)/7, */
|
||||
/* an example of 3**(n-1)=1 mod n */
|
||||
strtomp("15662C00E811", nil, 16, p);/* 23528569104401, a prime */
|
||||
|
|
Loading…
Reference in a new issue