Documentation Center

  • Trials
  • Product Updates

storedIntegerToDouble

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

Syntax

d = storedIntegerToDouble(f)

Description

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

f

fi object

Examples

expand all

Convert Stored Integer Value of fi Object to Double-Precision Value

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)

See Also

| |

Was this topic helpful?