delorie.com/djgpp/doc/libc/libc_82.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

cbrt

Syntax

 
#include <math.h>

double cbrt(double x);

Description

This function computes the cube root of x. It is faster and more accurate to call cbrt(x) than to call pow(x, 1./3.).

Return Value

The cube root of x. If the value of x is NaN, the return value is NaN and errno is set to EDOM. Infinite arguments are returned unchanged, without setting errno.

Portability

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004