*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/sinh (3)              


SINH(3M)							      SINH(3M)

NAME    [Toc]    [Back]

     sinh, cosh, tanh, fsinh, sinhf, fcosh, coshf, ftanh, tanhf, sinhl,	coshl,
     tanhl - hyperbolic	functions

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double sinh(double	x);
     float fsinh(float x);
     float sinhf(float x);
     long double sinhl(long double x);

     double cosh(double	x);
     float fcosh(float x);
     float coshf(float x);
     long double coshl(long double x);

     double tanh(double	x);
     float ftanh(float x);
     float tanhf(float x);
     long double tanhl(long double x);

DESCRIPTION    [Toc]    [Back]

     The long double and single-precision routines listed above	are only
     available in the standard math library, -lm and in	-lmx.

     These functions compute the designated hyperbolic functions for double,
     float, and	long double arguments.

ERROR (due to Roundoff etc.)    [Toc]    [Back]

     Below 2.4 ulps; an	ulp is one Unit	in the Last Place.

DIAGNOSTICS    [Toc]    [Back]

     In	the diagnostics	below, functions in the	standard math library libm.a,
     are referred to as	-lm versions, those in math library libmx.a are
     referred to as -lmx versions, and those in	the the	BSD math library
     libm43.a are referred to as -lm43 versions.  The -lm and -lmx versions
     always return the default Quiet NaN and set errno to EDOM when a NaN is
     used as an	argument.  A NaN argument usually causes the -lm43 versions to
     return the	same argument.	The -lm43 versions never set errno.
     The value of HUGE_VAL is IEEE Infinity.

     If	the correct result would overflow, the cosh functions return HUGE_VAL.
     The sinh functions	return HUGE_VAL	for positive x and -HUGE_VAL for
     negative x. The -lm versions also set errno to ERANGE for any overflow.

     See matherr(3M) for a description of error	handling for -lmx functions.

NOTES    [Toc]    [Back]

     Long double operations on this system are only supported in round to
     nearest rounding mode (the	default).  The system must be in round to
     nearest rounding mode when	calling	any of the long	double functions, or
SINH(3M)							      SINH(3M)

     incorrect answers will result.

     Users concerned with portability to other computer	systems	should note
     that the long double and float versions of	these functions	are optional
     according to the ANSI C Programming Language Specification	ISO/IEC	9899 :
     1990 (E).

     Long double functions have	been renamed to	be compliant with the ANSI-C
     standard, however to be backward compatible, they may still be called
     with the double precision function	name prefixed with a q.

SEE ALSO    [Toc]    [Back]

     math(3M), matherr(3M)

AUTHOR    [Toc]    [Back]

     W.	Kahan, Kwok-Choi Ng

									Page 2

SINH(3F)							      SINH(3F)

NAME    [Toc]    [Back]

     sinh, dsinh, qsinh	- FORTRAN hyperbolic sine intrinsic function

SYNOPSIS    [Toc]    [Back]

     real r1, r2
     double precision dp1, dp2
     real*16 qp1, qp2

     r2	= sinh(r1)

     dp2 = dsinh(dp1)
     dp2 = sinh(dp1)

     qp2 = qsinh(qp1)
     qp2 = sinh(qp1)

DESCRIPTION    [Toc]    [Back]

     cosh returns the real hyperbolic sine of its real argument, dcosh returns
     the double-precision hyperbolic sine of its double-precision argument,
     and qcosh returns the real*16 hyperbolic sine of its real*16 argument.
     The generic form cosh may be used to return a double-precision value when
     given a double-precision argument,	or a real*16 value when	given a
     real*16 argument.

SEE ALSO    [Toc]    [Back]


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
tanhf OpenBSD hyperbolic tangent functions
tanhf FreeBSD hyperbolic tangent functions
cosh FreeBSD hyperbolic cosine functions
cosh OpenBSD hyperbolic cosine functions
tanh OpenBSD hyperbolic tangent functions
sinhf OpenBSD hyperbolic sine functions
sinh OpenBSD hyperbolic sine functions
coshf FreeBSD hyperbolic cosine functions
asinh IRIX inverse hyperbolic functions
tanh FreeBSD hyperbolic tangent functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service