MATLAB: Is double precision standard in matlab? How to calculate in that precision.

changing precisiondouble precisions

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?

Best Answer

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.