*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> cbrtf (3)              
Title
Content
Arch
Section
 

SQRT(3)

Contents


NAME    [Toc]    [Back]

     cbrt, cbrtf, sqrt, sqrtf - cube root and square  root  functions

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     cbrt(double x);

     float
     cbrtf(float x);

     double
     sqrt(double x);

     float
     sqrtf(float x);

DESCRIPTION    [Toc]    [Back]

     The  cbrt()  function  computes  the  cube  root  of x.  The
cbrtf() function is
     a single precision version of cbrt().

     The sqrt() function computes the non-negative square root of
x.  The
     sqrtf() function is a single precision version of sqrt().

RETURN VALUES    [Toc]    [Back]

     If  x is negative, sqrt(x) and sqrtf(x) set the global variable errno to
     EDOM.

SEE ALSO    [Toc]    [Back]

      
      
     math(3)

HISTORY    [Toc]    [Back]

     The cbrt() function appeared in 4.3BSD.

OpenBSD      3.6                            May      6,      1991
[ Back ]
 Similar pages
Name OS Title
cbrt Tru64 Square and cube root functions
sqrt Tru64 Square and cube root functions
sqrt IRIX cube root, square root
sqrt IRIX cube root, square root
sqrt IRIX cube root, square root
cplxexp IRIX exponential, logarithm, power, square root functions for the C++ complex library
cbrt Linux cube root function
sqrt Linux square root function
dlabad IRIX take as input the values computed by SLAMCH for underflow and overflow, and returns the square root of each of
slabad IRIX take as input the values computed by SLAMCH for underflow and overflow, and returns the square root of each of
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service