Re: matlab和fortran计算结果不一样该相信谁# Computation - 科学计算
r*y
1 楼
Even on a same machine, different compilers of same language
can give you different results beyond machine precision. There is also no
point to compare fortran and matlab results beyond machine precision.
And pi in matlab is not same as the pi you specified in your code.
As I said before, your code sucks, not fortran or matlab.
的
8888
.
差
题
can give you different results beyond machine precision. There is also no
point to compare fortran and matlab results beyond machine precision.
And pi in matlab is not same as the pi you specified in your code.
As I said before, your code sucks, not fortran or matlab.
的
8888
.
差
题