cproj(), cprojf(), cprojl()

Compute the projection of a complex number on the Riemann sphere

Synopsis:

#include <complex.h>

double complex cproj(double complex z);

float complex cprojf(float complex z);

long double complex cprojl(long double complex z);

Arguments:

z
The complex value that you want to get the projection of.

Library:

libm

Use the -l m option to qcc to link against this library.

Description:

These functions compute the projection of the complex number specified by z on the Riemann sphere.

Returns:

The projection of z on the Riemann sphere.

Classification:

ANSI, POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes