summaryrefslogtreecommitdiff
path: root/lib/libm/man
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2011-04-16 22:01:01 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2011-04-16 22:01:01 +0000
commit0f671ce4d6abbd37e684f256734837834174fe73 (patch)
tree5c5d3baffd0306a6a376943059cebb0e310c1617 /lib/libm/man
parent4d014fad845afdd32bfa5c6627ad3e82ee39b6fe (diff)
Document what happens when x equals y.
Diffstat (limited to 'lib/libm/man')
-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