function maxVal = getContainerMax(dtContainerInfo, rangeMax)
    %% GETCONTAINERMAX function returns the maximum value for the specified data type container
    % if the datatype scaling is unspecified, rangeMax is returned as the
    % maximum value. Otherwise, the container datatype range maximum is returned.
    
    % Copyright 2018-2021 The MathWorks, Inc.
    
    maxVal = FixedpointSharedUtils.getContainerMax(dtContainerInfo, rangeMax);
end
