Next: , Previous: , Up: Top   [Index]


5 Complex Functions

The complex functions expect arguments of type mpc_t.

The GNU MPC floating-point functions have an interface that is similar to the GNU MP integer functions. The function prefix for operations on complex numbers is mpc_.

The precision of a computation is defined as follows: Compute the requested operation exactly (with “infinite precision”), and round the result to the destination variable precision with the given rounding mode.

The GNU MPC complex functions are intended to be a smooth extension of the IEEE P754 arithmetic. The results obtained on one computer should not differ from the results obtained on a computer with a different word size.