Is double precision standard in matlab? How do I calculate in that precision.

9 ビュー (過去 30 日間)
Truxton
Truxton 2013 年 2 月 15 日
I am trying to calculate expressions in double precision arithmetic in matlab. Is that standard or do I have to change it? And how would I change to any other precision?

採用された回答

Youssef  Khmou
Youssef Khmou 2013 年 2 月 15 日
Hi,
yes double precision is standard in Matlab that represents floating-points numbers in either double-precision or single-precision format .
Matlab constructs double data type according to IEEE Standard 754 for double precision, and any value stored as double requires 8 bytes.

その他の回答 (1 件)

the cyclist
the cyclist 2013 年 2 月 15 日
Double precision is the default.
You can read more details here:

カテゴリ

Help Center および File ExchangeNumbers and Precision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by