function y = isscalingbinarypoint(x)
% MATLAB Code Generation library function

%#codegen

%ISSCALINGBINARYPOINT Determine whether fi object has fixed-point or scaled double data type with BINARY POINT scaling.
%    ISSCALINGBINARYPOINT(A) returns 1 if and only if the DataType property
%    of fi object A is 'Fixed' or 'ScaledDouble', and also the scaling mode
%    is binary point.

% Copyright 2011-2014 The MathWorks, Inc.

eml_invariant(nargin == 1, 'fixed:coder:incorrectNumberOfInputs');

y = (~eml_ambiguous_types) && isscaledtype(x) && (~eml_isslopebiasscaled(x));
