Does MATLAB support quadruple precision - 128-bit floating point arithmetics?
조회 수: 53 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2012년 11월 15일
댓글: Walter Roberson
2024년 8월 16일
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
2024년 7월 25일
편집: MathWorks Support Team
2024년 8월 16일
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 2024b. 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
Walter Roberson
2024년 8월 16일
Note: the internal representation of variable precision numbers is not documented. It is believed that it has something to do with 30 bit chunks held within 32 bit numbers.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!