INtime SDK Help
sin, sinh

sin calculates the sine and sinh calculates the hyperbolic sine of an angle.

#include <math.h>

double sin (double x);

double sinh (double x);


Angle in radians.

Return Values


Returns the sine of x.

Generates a PLOSS error if x is large and partial loss of significance in the result occurs; function sets errno to ERANGE.

Prints a TLOSS message to stderr and returns 0 if x is so large that significance is completely lost; function sets errno to ERANGE.


Returns the hyperbolic sine of x.

Returns +/-HUGE_VAL, and the function sets errno to ERANGE if the result is too large.

These functions do not return standard ANSI domain or range errors.


Versions Defined in Include Link to
INtime 3.0 intime/rt/include/math.h math.h clib.lib

See Also

acos, asin, atan, cos, tan