Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > S

sinhcosh(3M)

HP Integrity Server Only
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

sinhcosh(), 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);

DESCRIPTION

These 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.

USAGE

To 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 VALUE

sinhcosh(±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.

ERRORS

No errors are defined.

STANDARDS CONFORMANCE

These functions are not specified by any standard.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.