Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(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

Cbrt(x) returns the cube root of x. 

Sqrt(x) returns the square root of x. 

SEE ALSO

intro(3M)

DIAGNOSTICS

ERROR (due to Roundoff etc.)

Cbrt is accurate to within 0.7 ulps. 
Sqrt on a machine that conforms to IEEE 754 is correctly rounded in accordance with the rounding mode in force; the error is less than half an ulp in the default mode (round−to−nearest).  An ulp is one Unit in the Last Place carried. 

Sun Release 3.2  —  Last change: 14 March 1986

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