ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
SQRT(3) BSD Library Functions Manual SQRT(3) NAME sqrt -- square root function SYNOPSIS #include <math.h> double sqrt(double x); long double sqrtl(long double x); float sqrtf(float x); DESCRIPTION The sqrt() function compute the non-negative square root of x. SPECIAL VALUES sqrt(-0) returns -0. sqrt(x) returns a NaN and generates a domain error for x < 0. SEE ALSO math(3) STANDARDS The sqrt() function conforms to ISO/IEC 9899:1999(E). BSD January 27, 2003 BSD |