Click this button to go to the index for this section. |
sqrt(3)
NAME
sqrt, cbrt - Square and cube root functionsLIBRARY
Math Library (libm.a)SYNOPSIS
#include <math.h> double sqrt (double x); float sqrtf (float x); double cbrt (double y); float cbrtf (float y);DESCRIPTION
sqrt() and sqrtf() compute the rounded square root of x. For platforms supporting a signed zero, sqrt (-0) = 0. cbrt() and cbrtf() return the rounded cube root of y. _____________________________________________________________ Function Exceptional Argument Routine Behavior _____________________________________________________________ sqrt(), sqrtf() x < 0 invalid argument _____________________________________________________________