Next: Trigonometric Functions, Previous: Basic Arithmetic, Up: Complex Functions [Index]
Set rop to the square root of op rounded according to rnd. The returned value rop has a non-negative real part, and if its real part is zero, a non-negative imaginary part.
Set rop to op1 raised to the power op2, rounded according
to rnd.
For mpc_pow_d
, mpc_pow_ld
, mpc_pow_si
, mpc_pow_ui
,
mpc_pow_z
and mpc_pow_fr
,
the imaginary part of op2 is considered as +0.
When both op1 and op2 are zero, the result has real part 1,
and imaginary part 0, with sign being the opposite of that of op2.
Set rop to the exponential of op, rounded according to rnd with the precision of rop.
Set rop to the natural and base-10 logarithm of op respectively, rounded according to rnd with the precision of rop. The principal branch is chosen, with the branch cut on the negative real axis, so that the imaginary part of the result lies in ]-\pi , \pi] and ]-\pi/log(10) , \pi/log(10)] respectively.
Next: Trigonometric Functions, Previous: Basic Arithmetic, Up: Complex Functions [Index]