summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2017-08-29 15:03:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2017-08-29 15:03:38 +0000
commit89ed813e7535a1938538861d3a9c5dfc70c44773 (patch)
tree9cfc9e34e9c53b8455dfd793ce0f5c53ed8a4f44
parentee09d20868fd160c5dcae4513558f49a5c66c7a9 (diff)
isunordered() returns true if at least one of the arguments is NaN
OK espie@
-rw-r--r--lib/libc/gen/isgreater.310
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/gen/isgreater.3 b/lib/libc/gen/isgreater.3
index 5307cc426e8..4883c63abe5 100644
--- a/lib/libc/gen/isgreater.3
+++ b/lib/libc/gen/isgreater.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isgreater.3,v 1.3 2011/07/07 13:30:28 jmc Exp $
+.\" $OpenBSD: isgreater.3,v 1.4 2017/08/29 15:03:37 millert Exp $
.\"
.\" Copyright (c) 2003 David Schultz <das@FreeBSD.ORG>
.\" All rights reserved.
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD: src/lib/libc/gen/isgreater.3,v 1.3 2005/02/06 03:23:31 das Exp $
.\"
-.Dd $Mdocdate: July 7 2011 $
+.Dd $Mdocdate: August 29 2017 $
.Dt ISGREATER 3
.Os
.Sh NAME
@@ -79,11 +79,7 @@ macro takes arguments
.Fa x
and
.Fa y
-and returns non-zero if and only if neither
-.Fa x
-nor
-.Fa y
-are NaNs.
+and returns non-zero if at least one of the arguments is NaN.
For any pair of floating-point values, one
of the relationships (less, greater, equal, unordered) holds.
.Sh SEE ALSO