摘要 算式"(5^25*(1/25)^(1/5)*3^25+(1/25)^(1/5)*5^25*3^(25+1/5)-(9/25)^(1/5)*3^25*5^25-(1/25)^(1/5)*3^25*5.0^25*(1+3^(1/5)-3^(2/5.0)))"的值为0。但是,在 MATLAB 中计算它,则输出含有15位整数。
例1. 计算
直接贴图吧:

这样,MATLAB 输出了错误结果。
参考文献
[1] Richardson, D. Zero tests for constants in simple scientific computation. Mathematics in Computer Science, 2007, 1(1):21-37