.\" 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.
.\"
.\" 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
.\" 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
.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
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/.