creal, crealf, or creall Subroutine

Purpose

Computes the real part of a specified value.

Syntax

#include <complex.h>

double creal (z)
double complex z;

float crealf (z)
float complex z;

long double creall (z)
long double complex z;

Description

The creal, crealf, and creall subroutines compute the real part of the value specified by the z parameter.

Parameters

Item Description
z Specifies the real to be computed.

Return Values

These subroutines return the real part value.