Trigonometric Functions
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The cos, sin, and tan trigonometric functions return the cosine,
sine, and tangent, respectively, of <x>.
The long double functions use an 80-bit long double form of
arguments and return values. In all other respects, they are
identical to the regular functions.
Return Value
If <x> is large, a partial loss of significance in the result may
occur in a trigonometric function. In this case, the function
generates a PLOSS error. If <x> is so large that significance is
completely lost, the function prints a TLOSS message to stderr and
returns 0. In both cases, errno is set to ERANGE.
-♦-