about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhanemile <emile.hansmaennel@gmail.com>2018-01-01 18:30:13 +0100
committerhanemile <emile.hansmaennel@gmail.com>2018-01-01 18:30:13 +0100
commitaf0b25e9d5c28e6c7062602d0797b2ff983ea9d3 (patch)
tree56261360c4a0356e6b26e0fdf41d8f804165ec13
parent0a5d6714b2676e7c1e348511384db68c68946af2 (diff)
[milestone] print the lookuptable
-rwxr-xr-xsrc/a.outbin13200 -> 13168 bytes
-rw-r--r--src/lookup.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/src/a.out b/src/a.out
index 6a6368d..f97661d 100755
--- a/src/a.out
+++ b/src/a.out
Binary files differdiff --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){