Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 1.5 Reference Volume 4, Section 3: Libraries > c

creal(3M)

IA-64 only
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

creal(), crealf() — the real part of a complex value

SYNOPSIS

#include <complex.h>

double creal(double complex z);

float crealf(float complex z);

DESCRIPTION

These functions are available only for IA-64.

creal() returns the real part of z.

crealf() is a float complex version of creal(); it takes a float complex argument and returns a float result.

These functions raise no exceptions.

USAGE

To use these functions, compile with the default -Ae option. Make sure your program includes <complex.h>. Link in the math library by specifying -lm on the compiler or linker command line.

ERRORS

No errors are defined.

STANDARDS CONFORMANCE

creal(), crealf(): ISO/IEC C99 (including Annex G, IEC 60559-compatible complex arithmetic)

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2001 Hewlett-Packard Development Company, L.P.