ATANDEG 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

atandegf, atandeg, atandegl, atandegw, atandegq, atandegll, atandegdf, atandegd, atandegdl, atandegdll - arc tangent function in degrees

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern float atandegf (float x);

extern double atandeg (double x);

extern long double atandegl (long double x);

extern __float80 atandegw (__float80 x);

extern __float128 atandegq (__float128 x);

extern long_long_double atandegll (long_long_double x);

extern decimal_float atandegdf (decimal_float x);

extern decimal_double atandegd (decimal_double x);

extern decimal_long_double atandegdl (decimal_long_double x);

extern decimal_long_long_double atandegdll (decimal_long_long_double x);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the principal value of the arc tangent function in degrees. The value of x should be in the range [-Infinity,+Infinity], for which the function range is [-90,+90].

RETURN VALUES

For in-range arguments, the returned value is in the range [-90,+90]. Otherwise, the returned value is a quiet NaN.

ERRORS

For out-of-range, Infinity and NaN arguments, the returned value is a quiet NaN, and errno is set to EDOM.

SEE ALSO

acosdeg(3CW), asindeg(3CW), atan2deg(3CW), cosdeg(3CW), cotandeg(3CW), sindeg(3CW), tandeg(3CW).