32 bit vs 64 bit machine effect in computing equal code

5 ビュー (過去 30 日間)
Alberto Vergani
Alberto Vergani 2016 年 9 月 18 日
編集済み: Stephen23 2016 年 9 月 22 日
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 件)

Fei Deng
Fei Deng 2016 年 9 月 22 日
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

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by