 |
Index for Section 3 |
|
 |
Alphabetical listing for S |
|
 |
Bottom of page |
|
sqrt(3)
NAME
sqrt, cbrt - Square and cube root functions
LIBRARY
Math Library (libm.a)
SYNOPSIS
#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);
DESCRIPTION
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 Argument Routine Behavior
______________________________________________________________________
sqrt(), sqrtf(), sqrtl() x < 0 invalid argument
______________________________________________________________________
 |
Index for Section 3 |
|
 |
Alphabetical listing for S |
|
 |
Top of page |
|