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

9 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Youssef  Khmou
Youssef Khmou il 15 Feb 2013
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.

Più risposte (1)

the cyclist
the cyclist il 15 Feb 2013
Double precision is the default.
You can read more details here:

Community Treasure Hunt

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

Start Hunting!

Translated by