Initial import of libucore

This commit is contained in:
Nils O. Selåsdal
2012-10-29 23:07:32 +01:00
commit ed3866e49a
79 changed files with 6181 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <stdlib.h>
#include <stdio.h>
#include "ucore_math.h"
int main(int argc, char *argv[])
{
unsigned int a,N;
if(argc < 2) {
printf("Usage %s interger1\n",argv[0]);
return 1;
}
a = atoi(argv[1]);
N = uc_phi_32(a);
printf("phi of %u is %u\n",a,N);
return 0;
}