Main Content


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™.

Version History

Introduced in R2012a

See Also

| |