MATLAB中一个基本运算的BUG?。
Afficher commentaires plus anciens
m=0.56;
m=m*10;
m=m*10;
m=m-56
执行结果m不为零。奇怪的是当m的小数点为3位或者1位时,执行相应的程序,结果都可以为零,只有当小数位数为2的时候才出错,这会是MATLAB的一个bug还是其它问题?
本人萌新一枚,所用版本为64位R2021a版本。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!