summaryrefslogtreecommitdiff
path: root/lib/libm/man/nextafter.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/man/nextafter.3')
-rw-r--r--lib/libm/man/nextafter.313
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libm/man/nextafter.3 b/lib/libm/man/nextafter.3
index 83352cc9baf..5406bce0556 100644
--- a/lib/libm/man/nextafter.3
+++ b/lib/libm/man/nextafter.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nextafter.3,v 1.3 2011/04/16 22:01:00 martynas Exp $
+.\" $OpenBSD: nextafter.3,v 1.4 2011/07/07 00:54:16 martynas Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,12 +28,13 @@
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
.\"
-.Dd $Mdocdate: April 16 2011 $
+.Dd $Mdocdate: July 7 2011 $
.Dt NEXTAFTER 3
.Os
.Sh NAME
.Nm nextafter ,
-.Nm nextafterf
+.Nm nextafterf ,
+.Nm nextafterl
.Nd next representable value
.Sh SYNOPSIS
.Fd #include <math.h>
@@ -41,6 +42,8 @@
.Fn nextafter "double x" "double y"
.Ft float
.Fn nextafterf "float x" "float y"
+.Ft long double
+.Fn nextafterl "long double x" "long double y"
.Sh DESCRIPTION
.Fn nextafter
returns the next machine representable number from
@@ -58,6 +61,10 @@ The
.Fn nextafterf
function is a single precision version of
.Fn nextafter .
+The
+.Fn nextafterl
+function is an extended precision version of
+.Fn nextafter .
.Sh SEE ALSO
.Xr math 3
.Sh STANDARDS