storedIntegerToDouble - Convert stored integer value of fi object to built-in double
value - MATLAB ([original](https://in.mathworks.com/help/fixedpoint/ref/embedded.fi.storedintegertodouble.html)) ([raw](?raw))
Main Content
Convert stored integer value of fi
object to built-in double value
Syntax
Description
`d` = storedIntegerToDouble([a](#mw%5Fbb3b88f6-3d7c-4e40-aa49-9cbefd9cc5a9))
converts the stored integer value of fi
object, a
, 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 inputfi
object is outside the representable range of built-in double values.
Examples
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.
a = 3.1416
DataTypeMode: Fixed-point: binary point scaling
Signedness: Signed
WordLength: 16
FractionLength: 12
d = storedIntegerToDouble(a)
Input Arguments
Value to convert, specified as a fi
object.
Data Types: fi
Complex Number Support: Yes
Extended Capabilities
Version History
Introduced in R2012a