This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Convert stored integer value of fi object to built-in double value


d = storedIntegerToDouble(f)


d = storedIntegerToDouble(f) converts the stored integer value of fi object, f, to a double-precision floating-point value, d.

If the input word length is greater than 52 bits, a quantization error may occur. INF is returned if the stored integer value of the input fi object is outside the representable range of built-in double values.

Input Arguments


fi object


collapse all

Convert the stored integer of a fi value to a double-precision value. Use the class function to verify that the stored integer is a double-precision value.

f = fi(pi,1,16,12);
d = storedIntegerToDouble(f);
dtype = class(d)
dtype = 

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

See Also

| |

Introduced in R2012a