*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> floor (3)              
Title
Content
Arch
Section
 

FLOOR(3)

Contents


NAME    [Toc]    [Back]

     floor, floorf -- largest integral value less than or equal to x

LIBRARY    [Toc]    [Back]

     Math Library (libm, -lm)

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     floor(double x);

     float
     floorf(float x);

DESCRIPTION    [Toc]    [Back]

     The floor() and the floorf() functions return the largest integral value
     less than or equal to x, expressed as a floating-point number.

SEE ALSO    [Toc]    [Back]

      
      
     abs(3), ceil(3), fabs(3), ieee(3), math(3), rint(3)

STANDARDS    [Toc]    [Back]

     The floor() function conforms to ISO/IEC 9899:1990 (``ISO C89'').


FreeBSD 5.2.1			March 10, 1994			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ceilf FreeBSD smallest integral value greater than or equal to x
ceil FreeBSD smallest integral value greater than or equal to x
ceilf OpenBSD round to smallest integral value greater than or equal to x
ceilf NetBSD round to smallest integral value greater than or equal to x
ceil NetBSD round to smallest integral value greater than or equal to x
ceil OpenBSD round to smallest integral value greater than or equal to x
floor Linux largest integral value not greater than argument
floor OpenBSD round to largest integral value not greater than x
floorf NetBSD round to largest integral value not greater than x
floorf OpenBSD round to largest integral value not greater than x
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service