计算机的错误计算:sin(x) 和 cos(x)
原文英文,约100词,阅读约需1分钟。发表于: 。From IEEE-754-2019, it is known that the domain of trigonometric functions is the set of real numbers. Example 1. Calculate sin(20100) \sin(20^{100}) sin(20100) and cos(20100) ...
根据IEEE-754-2019,三角函数的定义域为实数集。示例中计算sin(20100)和cos(20100)的结果分别为0.4559851和-0.8899874,但MATLAB输出结果错误。