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

  man pages->IRIX man pages -> c++/cplxtrig (3)              
Title
Content
Arch
Section
 

Contents


CPLXTRIG(3C++)							CPLXTRIG(3C++)


NAME    [Toc]    [Back]

     cplxtrig -	trigonometric and hyperbolic functions for the C++ complex
     library

SYNOPSIS    [Toc]    [Back]

     #include <complex.h>

     class complex {

     public:
	       friend complex sin(complex);
	       friend complex cos(complex);

	       friend complex sinh(complex);
	       friend complex cosh(complex);
     };

DESCRIPTION    [Toc]    [Back]

     The following trigonometric functions are defined for complex, where:
      -	x and y	are of type complex.

     y <b>= sin(x<b>)	    Returns the	sine of	x.

     y <b>= cos(x<b>)	    Returns the	cosine of x.

     y <b>= sinh(x<b>)    Returns the	hyperbolic sine	of x.

     y <b>= cosh(x<b>)    Returns the	hyperbolic cosine of x.

SEE ALSO    [Toc]    [Back]

      
      
     complex(3C++), cartpol(3C++), cplxerr(3C++), cplxops(3C++), and
     cplxexp(3C++).

DIAGNOSTICS    [Toc]    [Back]

     If	the imaginary part of x	would cause overflow sinh and cosh return (0,
     0).  When the real	part is	large enough to	cause overflow,	sinh and cosh
     return (HUGE, HUGE) if the	cosine and sine	of the imaginary part of x are
     non-negative, (HUGE, -HUGE) if the	cosine is non-negative and the sine is
     less than 0, (-HUGE, HUGE)	if the sine is non-negative and	the cosine is
     less than 0, and (-HUGE, -HUGE) if	both sine and cosine are less than 0.
     In	all these cases, errno is set to ERANGE.

     These error-handling procedures may be changed with the function
     complex_error (cplxerr(3C++)).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
cos Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
tan Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
atand2 Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
atand Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
sin Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
atan Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
tand Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
sind Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
asind Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
acosd Tru64 Trigonometric and inverse trigonometric functions in radian and degree calculations.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service