function yfi = realmax(xfi)
% MATLAB Code Generation Library function for @fi/realmax.
%
% REALMAX(A) will return true if A is signed, fase  if unsigned.

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

 
eml_allow_mx_inputs;
if eml_ambiguous_types
    yfi = coder.ignoreConst(0);
    return;
end

yfi = upperbound(xfi);

%----------------------------------------------------