diff options
Diffstat (limited to 'man3/round.3')
| -rw-r--r-- | man3/round.3 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/man3/round.3 b/man3/round.3 index ee2dfeba2f..6dc74c001d 100644 --- a/man3/round.3 +++ b/man3/round.3 @@ -58,7 +58,9 @@ or .RE .ad .SH DESCRIPTION -These functions round \fIx\fP to the nearest integer, but +These functions round +.I x +to the nearest integer, but round halfway cases away from zero (regardless of the current rounding direction, see .BR fenv (3)), @@ -73,8 +75,11 @@ is \-1.0. .SH RETURN VALUE These functions return the rounded integer value. -If \fIx\fP is integral, +0, \-0, NaN, or infinite, -\fIx\fP itself is returned. +If +.I x +is integral, +0, \-0, NaN, or infinite, +.I x +itself is returned. .SH ERRORS No errors occur. POSIX.1-2001 documents a range error for overflows, but see NOTES. |
