Borrar filtros
Borrar filtros

32 bit vs 64 bit machine effect in computing equal code

2 visualizaciones (últimos 30 días)
Alberto Vergani
Alberto Vergani el 18 de Sept. de 2016
Editada: Stephen23 el 22 de Sept. de 2016
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?

Respuestas (1)

Fei Deng
Fei Deng el 22 de Sept. de 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

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by