sin [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
sin
Computes a sine value.
Syntax
#include <math.h>
double sin (double x);
Parameters
x A real number measured in radians.
Return Value
n The sine of x measured in radians.
0 Indicates a complete loss of significance for large values
of x. A TLOSS error message is printed on the standard
error output; errno is set to ERANGE.
Description
The sin function loses accuracy when its argument is far from zero. For
arguments causing partial loss of significance, a PLOSS error is
generated but no message is printed and errno is set to ERANGE.
Error-handling can be changed by a user-written matherr function.
See Also
cos(), tan(), ANSI C 4.5.2.6, POSIX.1 8.1
MPE/iX 5.0 Documentation