www.gusucode.com > fixedpoint 案例源码程序 matlab代码 > fixedpoint/ConvertStoredIntegerValueoffiObjecttoDoublePrecisionValuExample.m

    %% 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)