cplxtrig(3C)

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

As shipped in IRIX 6.5.7. Added in IRIX 6.5.5.

NAME
     cplxtrig - Trigonometric and hyperbolic functions for the C++ complex
     library

SYNOPSIS
     #include <complex.h>

     class complex {

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

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

IMPLEMENTATION
     IRIX systems (-o32 ABI only)

DESCRIPTION
          NOTE: This man page applies only to the -o32 ABI.  The MIPSpro
          -n32 and -64 ABIs support the template-based complex class which
          is included in the C++ standard library and is automatically
          loaded by the MIPSpro C++ compiler.  The -lm option must still be
          used to link the math library.

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

     y = sin(x)     Returns the sine of x.

     y = cos(x)     Returns the cosine of x.

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

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

DIAGNOSTICS
     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)).

SEE ALSO
     complex(3C), cartpol(3C), cplxerr(3C), cplxops(3C), cplxexp(3C)

     This man page is available only online.