diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-08-16 23:24:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-08-16 23:24:01 +0000 |
commit | ba3fe78bd1bf07ea56b965e1bfe6121b439dd953 (patch) | |
tree | 3ea8f05053acd6f4f0e3e431f9d86d7646a9481b /lib/libc/gen/isinf.3 | |
parent | cd0bd5a18898107ab023fc73388631aa7ca66b44 (diff) |
doc isinff() and isnanf()
Diffstat (limited to 'lib/libc/gen/isinf.3')
-rw-r--r-- | lib/libc/gen/isinf.3 | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/lib/libc/gen/isinf.3 b/lib/libc/gen/isinf.3 index 304d56d4023..549d08ce8aa 100644 --- a/lib/libc/gen/isinf.3 +++ b/lib/libc/gen/isinf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isinf.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ +.\" $OpenBSD: isinf.3,v 1.7 1999/08/16 23:24:00 deraadt Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -36,25 +36,35 @@ .Os .Sh NAME .Nm isinf , -.Nm isnan +.Nm isinff , +.Nm isnan , +.Nm isnanf .Nd test for infinity or not-a-number .Sh SYNOPSIS .Fd #include <math.h> .Ft int .Fn isinf "double n" .Ft int +.Fn isinff "float n" +.Ft int .Fn isnan "double n" +.Ft int +.Fn isnanf "float n" .Sh DESCRIPTION The .Fn isinf -function +and +.Fn isinff +functions returns 1 if the number .Fa n is \*(If, otherwise 0. .Pp The .Fn isnan -function +and +.Fn isnanf +functions returns 1 if the number .Fa n is |