1SQRT(3)                    Linux Programmer's Manual                   SQRT(3)
2
3
4

NAME

6       sqrt, sqrtf, sqrtl - square root function
7

SYNOPSIS

9       #include <math.h>
10
11       double sqrt(double x);
12       float sqrtf(float x);
13       long double sqrtl(long double x);
14
15       Link with -lm.
16

DESCRIPTION

18       The  sqrt()  function  returns  the  non-negative square root of x.  It
19       fails and sets errno to EDOM, if x is negative.
20

ERRORS

22       EDOM   x is negative.
23

CONFORMING TO

25       SVr4, 4.3BSD, C89.  The float and long double variants are C99 require‐
26       ments.
27

SEE ALSO

29       cbrt(3), csqrt(3), hypot(3)
30
31
32
33                                  2002-07-27                           SQRT(3)
Impressum