function yfi = uplus(xfi)
% MATLAB Code Generation Library function for @fi/uplus.
%
% UPLUS(A) will return the unary plus of A

% $INCLUDE(DOC) toolbox/eml/lib/fixedpoint/@embedded/@fi/uplus.m $
% Copyright 2002-2010 The MathWorks, Inc.
%#codegen

% Get the numerictype and fimath of xfi and call eml_uplus
tx = eml_typeof(xfi);
fx = eml_fimath(xfi);
yfi = eml_uplus(xfi,tx,fx);
yfi = eml_fimathislocal(yfi,eml_fimathislocal(xfi));
%----------------------------------------------------