.\"
.\" Based on glibc infopages
.\"
-.TH NEXTAFTER 3 2010-09-20 "GNU" "Linux Programmer's Manual"
+.TH NEXTAFTER 3 2013-09-02 "GNU" "Linux Programmer's Manual"
.SH NAME
nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl \-
floating-point number manipulation
.ad b
.SH DESCRIPTION
The
-.BR nextafter ()
+.BR nextafter (),
+.BR nextafterf (),
+and
+.BR nextafterl ()
functions return the next representable floating-point value following
.I x
in the direction of
.IR y .
The
-.BR nexttoward ()
-functions do the same as the
+.BR nexttoward (),
+.BR nexttowardf (),
+and
+.BR nexttowardl ()
+functions do the same as the corresponding
.BR nextafter ()
functions, except that they have a
.I "long double"
.IR errno .
.\" FIXME . Is it intentional that these functions do not set errno?
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6799
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR nextafter (),
+.BR nextafterf (),
+.BR nextafterl (),
+.BR nexttoward (),
+.BR nexttowardf (),
+and
+.BR nexttowardl ()
+functions are thread-safe.
.SH CONFORMING TO
C99, POSIX.1-2001.
This function is defined in IEC 559 (and the appendix with
exception when an underflow occurs.
.SH SEE ALSO
.BR nearbyint (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/.