Compute the projection of a complex number on the Riemann sphere
#include <complex.h> double complex cproj(double complex z); float complex cprojf(float complex z); long double complex cprojl(long double complex z);
These functions compute the projection of the complex number specified by z on the Riemann sphere.
The projection of z on the Riemann sphere.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |