[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

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

z Specifies the real to be computed.

Return Values

These subroutines return the real part value.

Related Information

carg, cargf, or cargl Subroutine, cimag, cimagf, or cimagl Subroutine, conj, conjf, or conjl Subroutine, and cproj, cprojf, or cprojl Subroutine

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]