From IEEE-754-2019, it is known that the domain of trigonometric functions is the set of real numbers.
Example 1. Calculate
and
in MATLAB.
Let's just post the picture directly.
However, the correct values are 0.4559851... and -0.8899874..., respectively (as provided by ISRealsoft).
Thus, the outputs of MATLAB are all incorrect results.
Top comments (0)