OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / modf.3
index 4460a23..bd23ffe 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -19,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
@@ -28,7 +30,7 @@
 .\" Modified 2002-07-27 by Walter Harms
 .\"    (walter.harms@informatik.uni-oldenburg.de)
 .\"
-.TH MODF 3  2010-09-20 ""  "Linux Programmer's Manual"
+.TH MODF 3  2013-06-21 ""  "Linux Programmer's Manual"
 .SH NAME
 modf, modff, modfl \- extract signed integral and fractional values from
 floating-point number
@@ -64,13 +66,18 @@ or
 .SH DESCRIPTION
 The
 .BR modf ()
-function breaks the argument \fIx\fP into an integral
-part and a fractional part, each of which has the same sign as \fIx\fP.
-The integral part is stored in the location pointed to by \fIiptr\fP.
-.SH "RETURN VALUE"
+function breaks the argument
+.I x
+into an integral
+part and a fractional part, each of which has the same sign as
+.IR x .
+The integral part is stored in the location pointed to by
+.IR iptr .
+.SH RETURN VALUE
 The
 .BR modf ()
-function returns the fractional part of \fIx\fP.
+function returns the fractional part of
+.IR x .
 
 If
 .I x
@@ -85,12 +92,29 @@ is positive infinity (negative infinity), +0 (\-0) is returned, and
 is set to positive infinity (negative infinity).
 .SH ERRORS
 No errors occur.
-.SH "CONFORMING TO"
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR modf (),
+.BR modff (),
+and
+.BR modfl ()
+functions are thread-safe.
+.SH CONFORMING TO
 C99, POSIX.1-2001.
 The variant returning
 .I double
 also conforms to
 SVr4, 4.3BSD, C89.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR frexp (3),
 .BR ldexp (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.