xref: /original-bsd/lib/libm/common_source/floor.3 (revision 4887b8aa)
1.\" Copyright (c) 1985, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)floor.3	8.1 (Berkeley) 06/04/93
7.\"
8.Dd
9.Dt FLOOR 3
10.Os
11.Sh NAME
12.Nm floor
13.Nd largest integral value not greater than x
14.Sh SYNOPSIS
15.Fd #include <math.h>
16.Ft double
17.Fn floor "double x"
18.Sh DESCRIPTION
19The
20.Fn floor
21function computes the largest integral value not greater than
22.Fa x .
23.Sh RETURN VALUES
24The
25.Fn floor
26function returns the largest integral value
27expressed as a double.
28.Sh SEE ALSO
29.Xr abs 3 ,
30.Xr ieee 3 ,
31.Xr fabs 3 ,
32.Xr floor 3 ,
33.Xr rint 3 ,
34.Xr math 3
35.Sh STANDARDS
36The
37.Fn floor
38function conforms to
39.St -ansiC .
40