Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sqrt(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

sqrt(3)  —  Subroutines

NAME

sqrt, cbrt − Square and cube root functions

SYNOPSIS

#include <math.h>
double sqrt(
        double x ); float sqrtf(
        float x ); long double sqrtl(
        long double x ); double cbrt(
        double y ); float cbrtf(
        float y ); long double cbrtl(
        long double y );

LIBRARY

Math Library (libm)

DESCRIPTION

sqrt(), sqrtf(), and sqrtl() compute the rounded square root of x. For platforms supporting a signed zero, sqrt (-0) = 0. 

cbrt(), cbrtf(), and cbrtl() return the rounded cube root of y. 

Function Exceptional Argument Routine Behavior
sqrt(), sqrtf(), sqrtl() x < 0 invalid argument

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