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.311
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libm/man/nextafter.3 b/lib/libm/man/nextafter.3
index af949a360ed..83352cc9baf 100644
--- a/lib/libm/man/nextafter.3
+++ b/lib/libm/man/nextafter.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nextafter.3,v 1.2 2009/07/29 19:07:56 martynas Exp $
+.\" $OpenBSD: nextafter.3,v 1.3 2011/04/16 22:01:00 martynas Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
.\"
-.Dd $Mdocdate: July 29 2009 $
+.Dd $Mdocdate: April 16 2011 $
.Dt NEXTAFTER 3
.Os
.Sh NAME
@@ -47,6 +47,13 @@ returns the next machine representable number from
.Fa x
in direction
.Fa y .
+If
+.Fa x
+equals
+.Fa y ,
+.Fn nextafter
+returns
+.Fa y .
The
.Fn nextafterf
function is a single precision version of