None.
Cases prefixed with W are classified as warnings and do not generate an error of type NAG:error_n. See nag_issue_warnings.
Open in the MATLAB editor: s10ac_example
function s10ac_example fprintf('s10ac example results\n\n'); x = [-10 -0.5 0 0.5 25]; n = size(x,2); result = x; for j=1:n [result(j), ifail] = s10ac(x(j)); end disp(' x cosh(x)'); fprintf('%12.3e%12.3e\n',[x; result]);
s10ac example results x cosh(x) -1.000e+01 1.101e+04 -5.000e-01 1.128e+00 0.000e+00 1.000e+00 5.000e-01 1.128e+00 2.500e+01 3.600e+10