Content-type: text/html Man page of sqrt

sqrt

Section: C Library Functions (3)
Index Return to Main Contents
 

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); 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.


FunctionExceptional ArgumentRoutine Behavior

sqrt(), sqrtf()x < 0invalid argument

delim off


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 02:41:30 GMT, October 02, 2010