summaryrefslogtreecommitdiff
path: root/sine.c
diff options
context:
space:
mode:
Diffstat (limited to 'sine.c')
-rw-r--r--sine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sine.c b/sine.c
index c483317..a6f0053 100644
--- a/sine.c
+++ b/sine.c
@@ -28,7 +28,7 @@ double sin(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][1]-sin(piValues[i][0],precision))>threshold ){