Clear Filters
Clear Filters

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

8 views (last 30 days)
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?

Accepted Answer

Youssef  Khmou
Youssef Khmou on 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.

More Answers (1)

the cyclist
the cyclist on 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!