floor.3 (aa842e6a1214ea141be0f824f91cdf5e4aff3ab0) floor.3 (f598d0519c46fcd68ed44c57f42c27d0a38f4e61)
1.\" Copyright (c) 1985, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 38 unchanged lines hidden (view full) ---

47.Fn floor "double x"
48.Ft float
49.Fn floorf "float x"
50.Sh DESCRIPTION
51The
52.Fn floor
53and the
54.Fn floorf
1.\" Copyright (c) 1985, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 38 unchanged lines hidden (view full) ---

47.Fn floor "double x"
48.Ft float
49.Fn floorf "float x"
50.Sh DESCRIPTION
51The
52.Fn floor
53and the
54.Fn floorf
55function return the largest integral value
55functions return the largest integral value
56less than or equal to
57.Fa x ,
58expressed as a floating-point number.
59.Sh SEE ALSO
60.Xr abs 3 ,
61.Xr ceil 3 ,
62.Xr fabs 3 ,
63.Xr ieee 3 ,
64.Xr math 3 ,
65.Xr rint 3
66.Sh STANDARDS
67The
68.Fn floor
69function conforms to
70.St -isoC .
56less than or equal to
57.Fa x ,
58expressed as a floating-point number.
59.Sh SEE ALSO
60.Xr abs 3 ,
61.Xr ceil 3 ,
62.Xr fabs 3 ,
63.Xr ieee 3 ,
64.Xr math 3 ,
65.Xr rint 3
66.Sh STANDARDS
67The
68.Fn floor
69function conforms to
70.St -isoC .