round.3 (d0f136337018033643078ec257de0ad091bcaec8) round.3 (a9a0bf07f3f18041b1f827b098a6106ac6705abb)
1.\" Copyright (c) 2003, Steven G. Kargl
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.

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

51lies halfway between two integral values, then these
52functions return the integral value with the larger
53absolute value (i.e., they round away from zero).
54.Sh SEE ALSO
55.Xr ceil 3 ,
56.Xr floor 3 ,
57.Xr ieee 3 ,
58.Xr math 3 ,
1.\" Copyright (c) 2003, Steven G. Kargl
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.

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

51lies halfway between two integral values, then these
52functions return the integral value with the larger
53absolute value (i.e., they round away from zero).
54.Sh SEE ALSO
55.Xr ceil 3 ,
56.Xr floor 3 ,
57.Xr ieee 3 ,
58.Xr math 3 ,
59.Xr rint 3
59.Xr rint 3 ,
60.Xr trunc 3
60.Sh STANDARDS
61The
62.Fn round
63function conforms to
64.St -isoC-99 .
65.Sh HISTORY
66The
67.Fn round
68and
69.Fn roundf
70functions appeared in
71.Fx 5.3 .
61.Sh STANDARDS
62The
63.Fn round
64function conforms to
65.St -isoC-99 .
66.Sh HISTORY
67The
68.Fn round
69and
70.Fn roundf
71functions appeared in
72.Fx 5.3 .