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

  man pages->Tru64 Unix man pages -> cbrt (3)              
Title
Content
Arch
Section
 

sqrt(3)

Contents


NAME    [Toc]    [Back]

       sqrt, cbrt - Square and cube root functions

SYNOPSIS    [Toc]    [Back]

       #include <math.h>

       double sqrt(
               double x ); float sqrtf(
               float x ); long double sqrtl(
               long double x ); double cbrt(
               double y ); float cbrtf(
               float y ); long double cbrtl(
               long double y );

LIBRARY    [Toc]    [Back]

       Math Library (libm)

DESCRIPTION    [Toc]    [Back]

       sqrt(),  sqrtf(),  and  sqrtl() compute the rounded square
       root of x. For platforms supporting a  signed  zero,  sqrt
       (-0) = 0.

       cbrt(),  cbrtf(), and cbrtl() return the rounded cube root
       of y.

       -----------------------------------------------------------------------
       Function                        Exceptional   Argu-   Routine Behavior
                                       ment
       -----------------------------------------------------------------------
       sqrt(), sqrtf(), sqrtl()        x < 0                 invalid argument
       -----------------------------------------------------------------------




                                                          sqrt(3)
[ Back ]
 Similar pages
Name OS Title
sqrt OpenBSD cube root and square root functions
sqrtf OpenBSD cube root and square root functions
cbrt OpenBSD cube root and square root functions
sqrt NetBSD cube root and square root functions
cbrtf NetBSD cube root and square root functions
sqrt FreeBSD cube root and square root functions
cbrt NetBSD cube root and square root functions
sqrtf NetBSD cube root and square root functions
sqrtf FreeBSD cube root and square root functions
cbrtf OpenBSD cube root and square root functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service