%SUPERIORFLOAT return 'double' or 'single' based on the superior input.
%   SUPERIORFLOAT(A,B,...)
%   
%   Example:
%    
%       A = gpuArray.ones(5,'single');
%       B = ones(3,'double')
%       superiorfloat(A,B)
%   
%   See also SUPERIORFLOAT, GPUARRAY, GPUARRAY/ONES.
%   


%   Copyright 2014-2015 The MathWorks, Inc.
