Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cbrt(3M) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

math(3M)

SQRT(3M)  —  

NAME

cbrt, sqrt − cube root, square root

SYNOPSIS

#include <math.h>

double cbrt(x)
double x;

double sqrt(x)
double x;

DESCRIPTION

Cbrt returns the cube root of x. 

Sqrt returns the square root of x. 

DIAGNOSTICS

Sqrt returns a NaN when x is negative; errno is set to EDOM. 

ERRORS (due to roundoff, etc.)

Cbrt is accurate to within 0.7 ulps. 

Sqrt 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. 

SEE ALSO

math(3M)
 

PRPQs 5799-WZQ/5799-PFF: IBM/4.3  —  15 Dec 1986

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