FLOOR

Section: Mathematical Library (3M)
Index Return to Main Contents
 

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)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 10:17:30 GMT, December 28, 2024