floor(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
FLOOR(3)                  NetBSD Programmer's Manual                  FLOOR(3)


NAME
floor - round to largest integral value not greater than x
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h> double floor(double x); float floorf(float x);
DESCRIPTION
The floor() and floorf() functions return the largest integral value less than or equal to x.
SEE ALSO
abs(3), ceil(3), fabs(3), ieee(3), rint(3), math(3)
STANDARDS
The floor() function conforms to ANSI X3.159-1989 (``ANSI C''). NetBSD 1.4 March 10, 1994 1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.