Main index | Section 3 | Options |
#include <complex.h>
The creal() functions return the real part a, and the cimag() functions return the imaginary part b.
The conj() functions return the complex conjugate a, -, b, *, Em, i.
The cproj() functions return the projection onto the Riemann sphere. If z contains an infinite component, then the result is ∞, ±, 0, Ns, *, Ns, Em, i, where the (zero) imaginary part of the result has the same sign as b. Otherwise, the result is z.
These functions do not signal any floating point exceptions.
CIMAG (3) | August 7, 2008 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual). | ” |
— The Unix Haters' handbook |