# C Programming/complex.h/cproj

< C Programming | complex.h(Redirected from C Programming/C Reference/complex.h/cproj)**cproj** is a standard C programming language function.

## Contents

## PrototypesEdit

```
double complex cproj(double complex z);
float complex cprojf(float complex z);
long double complex cprojl(long double complex z);
```

## PurposeEdit

Used to compute complex projection functions.

## ParametersEdit

The values which have to be projected are specified by z.

## DescriptionEdit

This is complex projection functions. these are available for integrity servers. The projection of complex floating point-number z onto the Riemann sphere is done by cproj(). But all complex infinities are projected to positive infinity on the real axis.

## Return valueEdit

The cproj() return the value of projection on Riemann sphere.