%COSPI   Compute cos(X*pi) accurately.
%   COSPI(X) computes cos(X*pi) without explicitly computing X*pi.
%   For odd integers n, cospi(n/2) is exactly zero, whereas cos(n*pi/2)
%   reflects the accuracy of the floating point value for pi.
%
%   Class support for input X:
%      float: double, single
%
%   See also COS.

%   Copyright 2018 The MathWorks, Inc. 
%   Built-in function.