Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ floor(3M) — SunOS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

abs(3)

FLOOR(3M)  —  MATHEMATICAL FUNCTIONS

NAME

fabs, floor, ceil − absolute value, floor, ceiling functions

SYNOPSIS

#include <math.h>

double floor(x)
double x;

double ceil(x)
double x;

double fabs(x)
double x;

DESCRIPTION

Fabs returns the absolute value | x |. 

Floor returns the largest integer not greater than x.

Ceil returns the smallest integer not less than x.

SEE ALSO

abs(3)

BUGS

The fabs function is actually in the standard C library, and should be moved to the math library. 

Sun Release 1.1  —  Last change: 26 August 1983

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