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 | |
parent | cd0bd5a18898107ab023fc73388631aa7ca66b44 (diff) |
doc isinff() and isnanf()
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/Makefile.inc | 4 | ||||
-rw-r--r-- | lib/libc/gen/isinf.3 | 18 |
2 files changed, 16 insertions, 6 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index 3ca692f95a8..45388bd6d83 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.19 1998/11/20 11:18:37 d Exp $ +# $OpenBSD: Makefile.inc,v 1.20 1999/08/16 23:24:00 deraadt Exp $ # gen sources .PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/gen ${LIBCSRCDIR}/gen @@ -67,7 +67,7 @@ MLINKS+=exec.3 execl.3 exec.3 execle.3 exec.3 execlp.3 exec.3 exect.3 \ exec.3 execv.3 exec.3 execvp.3 MLINKS+=fts.3 fts_open.3 fts.3 fts_read.3 fts.3 fts_children.3 \ fts.3 fts_set.3 fts.3 fts_close.3 -MLINKS+=isinf.3 isnan.3 +MLINKS+=isinf.3 isnan.3 isinf.3 isnanf.3 isinf.3 isinff.3 MLINKS+=getcap.3 cgetcap.3 getcap.3 cgetclose.3 getcap.3 cgetent.3 \ getcap.3 cgetfirst.3 getcap.3 cgetmatch.3 getcap.3 cgetnext.3 \ getcap.3 cgetnum.3 getcap.3 cgetset.3 getcap.3 cgetstr.3 \ 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 |