unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

SQRT(3M)                                                              SQRT(3M)



NAME
       sqrt, cbrt - cube root, square root

SYNOPSIS
       #include <&lt;math.h>&gt;

       double cbrt(x)
       double x;

       double sqrt(x)
       double x;

DESCRIPTION
       sqrt(x)  returns  the  square root of x, correctly rounded according to
       ANSI/IEEE 754-1985.  In addition, sqrt() may also set  errno  and  call
       matherr(3M).

       cbrt(x)  returns  the cube root of x.  cbrt() is accurate to within 0.7
       ulps.

SEE ALSO
       matherr(3M)



4.3 Berkeley Distribution      22 November 1987                       SQRT(3M)