OSDN Git Service

(split) LDP: Update original to LDP v3.52.
[linuxjm/LDP_man-pages.git] / original / man3 / round.3
index ee2dfeb..457f83d 100644 (file)
@@ -24,7 +24,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH ROUND 3  2010-09-20 "" "Linux Programmer's Manual"
+.TH ROUND 3  2013-06-21 "" "Linux Programmer's Manual"
 .SH NAME
 round, roundf, roundl \- round to nearest integer, away from zero
 .SH SYNOPSIS
@@ -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,13 +75,24 @@ 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.
 .SH VERSIONS
 These functions first appeared in glibc in version 2.1.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR round (),
+.BR roundf (),
+and
+.BR roundl ()
+functions are thread-safe.
 .SH CONFORMING TO
 C99, POSIX.1-2001.
 .SH NOTES