Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cbrt(3M) — SunOS 3.2/SYS4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Intro(3M)

matherr(3M)

SQRT(3M)  —  MATHEMATICAL FUNCTIONS

NAME

sqrt, cbrt − cube root, square root

SYNOPSIS

#include <math.h>

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

Intro(3M), matherr(3M)

Sun Release 3.2  —  Last change: 6 October 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026