A recent issue has been discovered in calculating trigonometric functions on computers. According to IEEE-754-2019, the domain of trigonometric functions is the set of real numbers. However, calculations made using MATLAB have resulted in incorrect values for sin(x) and cos(x). The correct values were obtained through alternative means.
Source: https://dev.to/zaim/incorrect-calculations-by-the-computer-sinx-and-cosx-52ep