Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
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.
-♦-