[Algorithm] Calculate the trigonometric functions
The formula for calculating the sine(x) and the other trigonometric functions as follows: VD calculate sine(x) , x per radian may be due to the type of data or some other reason that is only accurate to -27<=x<With x = 27 per radian. In the code above we do not count the function x ^(2i 1) and (2i 1)! apart which means continuity in temp temp = x ^ calculation(2i 1) / (2i 1)! to avoid overflow of the […]
Recent Comments