Clear Filters
Clear Filters

32 bit vs 64 bit machine effect in computing equal code

2 views (last 30 days)
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?

Answers (1)

Fei Deng
Fei Deng on 22 Sep 2016
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

Categories

Find more on Function Creation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!