Next: Basic Arithmetic, Previous: Complex Comparison, Up: Complex Functions [Index]
Set rop to the value of the real part of op rounded in the direction rnd.
Set rop to the value of the imaginary part of op rounded in the direction rnd.
Return a reference to the real part and imaginary part of op,
respectively. The mpfr
functions can be used on the result of these
macros (note that the mpfr_t
type is itself a pointer).
Set rop to the argument of op, with a branch cut along the negative real axis.
Compute a projection of op onto the Riemann sphere. Set rop to op rounded in the direction rnd, except when at least one part of op is infinite (even if the other part is a NaN) in which case the real part of rop is set to plus infinity and its imaginary part to a signed zero with the same sign as the imaginary part of op.