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

Technical Reference: Base Operating System and Extensions, Volume 1

cbrtf, cbrtl, or cbrt Subroutine

Purpose

Computes the cube root.

Syntax

#include <math.h>

float cbrtf (x)
float x;

long double cbrtl (x)
long double x;

double cbrt (x)
double x;

Description

The cbrtf, cbrtl, and cbrt subroutines compute the real cube root of the x argument.

Parameters

x Specifies the value to be computed.

Return Values

Upon successful completion, the cbrtf, cbrtl, and cbrt subroutines return the cube root of x.

If x is NaN, an NaN is returned.

If x is ±0 or ±Inf, x is returned.

Related Information

math.h in AIX 5L Version 5.2 Files Reference.

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