This commit is contained in:
Miloslav Ciz 2023-03-08 20:23:02 +01:00
parent 672f0b0508
commit f7bad25b0a
7 changed files with 58 additions and 25 deletions

4
sin.md
View file

@ -119,9 +119,9 @@ int sinInt(int x)
sign *= -1;
}
int tmp = PI - x;
x *= PI - x;
return sign * (16 * x * tmp) / ((5 * PI * PI - 4 * x * tmp) / UNIT);
return sign * (16 * x) / ((5 * PI * PI - 4 * x) / UNIT);
}
```