floor man page on Ultrix

Printed from http://www.polarhome.com/service/man/?qf=floor&af=0&tf=2&of=Ultrix

floor(3m)							     floor(3m)

Name
       fabs,  floor, ceil, fmod, rint - absolute value, floor, ceiling, float‐
       ing point remainder, and round-to-nearest functions

Syntax
       #include <math.h>

       double floor(x)
       double x;

       double ceil(x)
       double x;

       double fabs(x)
       double x;

       double fmod (x, y)
       double x, y;

       double rint(x)
       double x;

Description
       The routine returns the absolute value |x|.

       The routine returns the largest integer no greater than x.

       The routine returns the smallest integer no less than x.

       The routine returns the floating point remainder of the division	 of  x
       by  y: zero if y is zero or if x/y would overflow; otherwise the number
       f with the same sign as x, such that x = iy + f for some integer i, and
       |f| < |y|.

       The routine returns the integer (represented as a double precision num‐
       ber) nearest x in the direction of the prevailing rounding mode.

See Also
       abs(3), intro(3m)

				      VAX			     floor(3m)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net