floor.3 (64890443c1b144b289df30a5123d179955bc8c92) | floor.3 (aa842e6a1214ea141be0f824f91cdf5e4aff3ab0) |
---|---|
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. --- 24 unchanged lines hidden (view full) --- 33.\" $FreeBSD$ 34.\" 35.Dd March 10, 1994 36.Dt FLOOR 3 37.Os 38.Sh NAME 39.Nm floor , 40.Nm 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. --- 24 unchanged lines hidden (view full) --- 33.\" $FreeBSD$ 34.\" 35.Dd March 10, 1994 36.Dt FLOOR 3 37.Os 38.Sh NAME 39.Nm floor , 40.Nm floorf |
41.Nd round to largest integral value <= x | 41.Nd largest integral value less than or equal to x |
42.Sh LIBRARY 43.Lb libm 44.Sh SYNOPSIS 45.In math.h 46.Ft double 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 | 42.Sh LIBRARY 43.Lb libm 44.Sh SYNOPSIS 45.In math.h 46.Ft double 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 returns the largest integral value 56(represented as a double precision number) | 55function return the largest integral value |
57less than or equal to | 56less than or equal to |
58.Fa x . | 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 . | 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 . |