United States-English |
|
|
HP-UX Reference > Ssinhcosh(3M)HP Integrity Server OnlyHP-UX 11i Version 3: February 2007 |
|
NAMEsinhcosh(), sinhcoshf(), sinhcoshl(), sinhcoshw(), sinhcoshq() — functions that compute both hyperbolic sine and hyperbolic cosine SYNOPSIS#include <math.h> void sinhcosh(double x, double *sptr, double *cptr); void sinhcoshf(float x, float *sptr, float *cptr); void sinhcoshl(long double x, long double *sptr, long double *cptr); void sinhcoshw(extended x, extended *sptr, extended *cptr); void sinhcoshq(quad x, quad *sptr, quad *cptr); DESCRIPTIONThese functions are available only for Integrity servers. sinhcosh() stores the hyperbolic sine of x in the object pointed to by sptr and stores the hyperbolic cosine of x in the object pointed to by cptr. sinhcoshf() is a float version of sinhcosh(); it takes float and float * arguments. sinhcoshl() is a long double version of sinhcosh(); it takes long double and long double * arguments. sinhcoshw() is an extended version of sinhcosh(); it takes extended and extended * arguments. sinhcoshq() is equivalent to sinhcoshl() on HP-UX systems. USAGETo use these functions compile either with the default -Ae option or with the -Aa and the -D_HPUX_SOURCE options. To use sinhcoshw() or sinhcoshq(), compile also with the -fpwidetypes option. To use any of these functions, make sure your program includes <math.h>, and link in the math library by specifying -lm on the compiler or linker command line. RETURN VALUEsinhcosh(±0,sptr,cptr) stores ±0 in the object pointed to by sptr and 1 in the object pointed to by cptr. If x is ±INFINITY, sinhcosh() stores ±INFINITY respectively in the object pointed to by sptr and stores +INFINITY in the object pointed to by cptr. If x is NaN, sinhcosh() stores NaN in the objects pointed to by its pointer arguments. When it raises no other exception, whether sinhcosh() raises the inexact exception is unspecified. |
Printable version | ||
|