opendarwin man page for ceil

Query: ceil

OS: opendarwin

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CEIL(3) 						   BSD Library Functions Manual 						   CEIL(3)

NAME
ceil -- round to smallest integral value not less than x
SYNOPSIS
#include <math.h> double ceil(double x); float ceilf(float x);
DESCRIPTION
The ceil() and ceilf() functions return the smallest integral value greater than or equal to x.
SPECIAL VALUES
ceil(+-0) returns +-0. ceil(+-infinity) returns +-infinity.
SEE ALSO
abs(3), fabs(3), floor(3), ieee(3), rint(3), math(3)
STANDARDS
The ceil() and ceilf() functions conform to ISO/IEC 9899:1999(E).
BSD
July 2, 2003 BSD
Related Man Pages
ceilf(3m) - sunos
ceil(3) - osf1
floor(3) - osf1
trunc(3) - osf1
ceilf(3m) - opensolaris
Similar Topics in the Unix Linux Community
math.h: float ceilf(float x)
How to get the ceiling value for floating numbers?
CEILING and FLOOR functions
Ceil not working as function in awk statement
Rounding off a decimal