Next: , Previous: Power Functions and Logarithm, Up: Complex Functions


5.8 Trigonometric Functions

— Function: int mpc_sin (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the sine of op, rounded according to rnd with the precision of rop.

— Function: int mpc_cos (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the cosine of op, rounded according to rnd with the precision of rop.

— Function: int mpc_tan (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the tangent of op, rounded according to rnd with the precision of rop.

— Function: int mpc_sinh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the hyperbolic sine of op, rounded according to rnd with the precision of rop.

— Function: int mpc_cosh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the hyperbolic cosine of op, rounded according to rnd with the precision of rop.

— Function: int mpc_tanh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the hyperbolic tangent of op, rounded according to rnd with the precision of rop.

— Function: int mpc_asin (mpc_t rop, mpc_t op, mpc_rnd_t rnd)
— Function: int mpc_acos (mpc_t rop, mpc_t op, mpc_rnd_t rnd)
— Function: int mpc_atan (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the inverse sine, inverse cosine, inverse tangent of op, rounded according to rnd with the precision of rop.

— Function: int mpc_asinh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)
— Function: int mpc_acosh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)
— Function: int mpc_atanh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the inverse hyperbolic sine, inverse hyperbolic cosine, inverse hyperbolic tangent of op, rounded according to rnd with the precision of rop. The branch cut of mpc_acosh is (-\infty, 1).