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