summaryrefslogtreecommitdiff
path: root/cosine.c
diff options
context:
space:
mode:
Diffstat (limited to 'cosine.c')
-rw-r--r--cosine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cosine.c b/cosine.c
index 934ca3b..28996f0 100644
--- a/cosine.c
+++ b/cosine.c
@@ -26,7 +26,7 @@ double cos(double input, int precision){
int main(){
const int precision = 20;
- const double threshold = 1e-4;
+ const double threshold = 1e-9;
for (int i=0; i<COUNT_OF(piValues);i++){
if ( abs(piValues[i][2]-cos(piValues[i][0],precision))>threshold ){