Does MATLAB support quadruple precision - 128-bit floating point arithmetics?

137 ビュー (過去 30 日間)
I need more precision than offered by the standard double data type in MATLAB. I am looking for a quadruple precision in MATLAB.

採用された回答

MathWorks Support Team
MathWorks Support Team 2019 年 1 月 31 日
The floating point arithmetic format that occupies 128 bits of storage is known as binary128 or quadruple precision.
The following blog post by MathWorks' Chief Mathematician Cleve Moler describes an implementation of quadruple precision programmed entirely in the MATLAB language:
Please note that quadruple precision is not available as of MATLAB R2018b. As a workaround, it is possible to obtain more precision using Variable Precision Arithmetic from the Symbolic Math Toolbox. Another possibility is to use the Fixed-Point Toolbox to obtain more precision. Note that in either case, the numbers will not be of the floating point format.

その他の回答 (1 件)

Pavel Holoborodko
Pavel Holoborodko 2015 年 3 月 5 日
編集済み: MathWorks Support Team 2021 年 6 月 24 日
Advanpix toolbox extends Matlab with quadruple precision. It is faster than Symbolic Math Toolbox & Maple up to 400 times.
Actually toolbox allows usage of arbitrary precision computations, quad precision is just a particular case.

Community Treasure Hunt

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

Start Hunting!

Translated by