From af0b25e9d5c28e6c7062602d0797b2ff983ea9d3 Mon Sep 17 00:00:00 2001 From: hanemile Date: Mon, 1 Jan 2018 18:30:13 +0100 Subject: [milestone] print the lookuptable --- src/lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lookup.c') diff --git a/src/lookup.c b/src/lookup.c index 01b5508..ef13a05 100644 --- a/src/lookup.c +++ b/src/lookup.c @@ -31,7 +31,7 @@ int main(int argc, char *argv[] ){ int x = atoi(argv[1]); for(int i = 0; i < x; i++){ - fprintf(fp, "%d, %f\n", i, phi(i)); + printf("%d, %f\n", i, phi(i)); } // for(int i = 0; i < 1e7; i = i + 1e4){ -- cgit 1.4.1