32 bit vs 64 bit machine effect in computing equal code

32bit and 64bit Windows don't compute the same result for the same code written and run with Matlab 32bit. The difference I have noted are few in a large calculus, but they are present. Shortly, my computation has not been exactly replicate with both machine. Why? How to control this machine effect?

回答(1 个)

Hi Alberto,
Some higher-level algorithms boiling down to basic arithmetic operations can result in different results, when they are performed in different environments due to the very nature of floating-point arithmetic.
I'd like to link this question to similar questions and answers here
and here

类别

帮助中心File Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by